slackbuilds_ponce/office/gbgoffice/10_workhelper-buttonbox.patch
Petar Petrov 9034e05f4e office/gbgoffice: Added (Bgoffice dictionary frontend)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
2011-10-21 15:59:21 -02:00

16 lines
533 B
Diff

# Description: fix hba declaration to match get_action_area return type
# Gtk::Dialog 2.18 now defines this as a generic ButtonBox
# Forwarded: no
# Bug-Debian: 577371
# Author: Damyan Ivanov <dmn@debian.org>
--- a/src/workhelper.cpp
+++ b/src/workhelper.cpp
@@ -39,7 +39,7 @@ WorkHelper::WorkHelper()
//set_resize_mode(Gtk::RESIZE_PARENT);
set_reallocate_redraws(true);
- Gtk::HButtonBox *hba = get_action_area();
+ Gtk::ButtonBox *hba = get_action_area();
add_events(Gdk::ENTER_NOTIFY_MASK | Gdk::LEAVE_NOTIFY_MASK);