diff options
| author | Karl Cheng <qantas94heavy@gmail.com> | 2019-05-08 10:50:54 +0000 |
|---|---|---|
| committer | Karl Cheng <qantas94heavy@gmail.com> | 2019-06-16 09:37:16 +0000 |
| commit | 0d0545debc43c951942786c425eed9dad70a270e (patch) | |
| tree | 1333af83087f118edad4fc2902f07d100ff0b851 /src/ui/desktop/menubar.cpp | |
| parent | Remove leftover GTK/gtkmm >= 3.16 check (diff) | |
| download | inkscape-0d0545debc43c951942786c425eed9dad70a270e.tar.gz inkscape-0d0545debc43c951942786c425eed9dad70a270e.zip | |
Replace deprecated Gtk::Misc functions
Diffstat (limited to 'src/ui/desktop/menubar.cpp')
| -rw-r--r-- | src/ui/desktop/menubar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/desktop/menubar.cpp b/src/ui/desktop/menubar.cpp index 7300e8c3b..04e97a933 100644 --- a/src/ui/desktop/menubar.cpp +++ b/src/ui/desktop/menubar.cpp @@ -124,7 +124,7 @@ build_menu_item_from_verb(SPAction* action, } Gtk::AccelLabel* label = Gtk::manage(new Gtk::AccelLabel(action->name, true)); - label->set_alignment(0.0, 0.5); + label->set_xalign(0.0); label->set_accel_widget(*menuitem); sp_shortcut_add_accelerator((GtkWidget*)menuitem->gobj(), sp_shortcut_get_primary(action->verb)); |
