diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-02-11 13:19:28 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-02-11 13:19:28 +0000 |
| commit | d78865613d0001b7323a9cfbecb75e356e022275 (patch) | |
| tree | 80b63042238d1a198c0412d822b97d3e853d63f6 /src/widgets/shrink-wrap-button.cpp | |
| parent | Backward compat fix for Gtkmm 2.20 (diff) | |
| download | inkscape-d78865613d0001b7323a9cfbecb75e356e022275.tar.gz inkscape-d78865613d0001b7323a9cfbecb75e356e022275.zip | |
Lots of gtkmm deprecation fixes
(bzr r10957)
Diffstat (limited to 'src/widgets/shrink-wrap-button.cpp')
| -rw-r--r-- | src/widgets/shrink-wrap-button.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/shrink-wrap-button.cpp b/src/widgets/shrink-wrap-button.cpp index e0c9e3cd1..ba422034e 100644 --- a/src/widgets/shrink-wrap-button.cpp +++ b/src/widgets/shrink-wrap-button.cpp @@ -35,7 +35,8 @@ void minimum_size(GtkWidget *widget, GtkRequisition *requisition, void *) { void shrink_wrap_button(Gtk::Button &button) { button.set_border_width(0); - button.unset_flags(Gtk::CAN_FOCUS | Gtk::CAN_DEFAULT); + button.set_can_focus(false); + button.set_can_default(false); g_signal_connect_after(G_OBJECT(button.gobj()), "size_request", G_CALLBACK(minimum_size), NULL); } |
