diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2012-04-06 06:09:09 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2012-04-06 06:09:09 +0000 |
| commit | a5080325d2e488598ece94094a3984dcdd292055 (patch) | |
| tree | b259267c71ee943d621d0d3b2c6e639a282d840c /src | |
| parent | C++ify context menu: (diff) | |
| download | inkscape-a5080325d2e488598ece94094a3984dcdd292055.tar.gz inkscape-a5080325d2e488598ece94094a3984dcdd292055.zip | |
build warning fix
(bzr r11161)
Diffstat (limited to 'src')
| -rw-r--r-- | src/interface.cpp | 2 | ||||
| -rw-r--r-- | src/interface.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/interface.cpp b/src/interface.cpp index 77ef9a075..05c8b9844 100644 --- a/src/interface.cpp +++ b/src/interface.cpp @@ -492,7 +492,7 @@ sp_ui_dialog_title_string(Inkscape::Verb *verb, gchar *c) * */ -static GtkWidget *sp_ui_menu_append_item_from_verb(GtkMenu *menu, Inkscape::Verb *verb, Inkscape::UI::View::View *view, bool radio, GSList *group) +static GtkWidget *sp_ui_menu_append_item_from_verb(GtkMenu *menu, Inkscape::Verb *verb, Inkscape::UI::View::View *view, bool radio = false, GSList *group = NULL) { SPAction *action; GtkWidget *item; diff --git a/src/interface.h b/src/interface.h index db98c3ae3..fecfa4ae4 100644 --- a/src/interface.h +++ b/src/interface.h @@ -61,9 +61,6 @@ unsigned int sp_ui_close_all (void); */ GtkWidget *sp_ui_main_menubar (Inkscape::UI::View::View *view); -static GtkWidget *sp_ui_menu_append_item_from_verb(GtkMenu *menu, Inkscape::Verb *verb, Inkscape::UI::View::View *view, bool radio = false, GSList *group = NULL); - - /** * */ |
