diff options
| author | Jabiertxof <jtx@jtx> | 2016-12-28 08:45:05 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2016-12-28 08:45:05 +0000 |
| commit | 0b5fe85427b24c57020b852d453af5f79f5220da (patch) | |
| tree | 0b566defc5e9c0ff3efe3b1c272e2597b8b69d91 /src/widgets/ink-action.cpp | |
| parent | First attemp working (diff) | |
| parent | Merge all upstream changes to GimpRuler (diff) | |
| download | inkscape-0b5fe85427b24c57020b852d453af5f79f5220da.tar.gz inkscape-0b5fe85427b24c57020b852d453af5f79f5220da.zip | |
add missing files
(bzr r15356.1.2)
Diffstat (limited to 'src/widgets/ink-action.cpp')
| -rw-r--r-- | src/widgets/ink-action.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/widgets/ink-action.cpp b/src/widgets/ink-action.cpp index 2f1bf94e4..8859306f1 100644 --- a/src/widgets/ink-action.cpp +++ b/src/widgets/ink-action.cpp @@ -1,8 +1,6 @@ #include "ink-action.h" #include "widgets/icon.h" -#include "widgets/image-menu-item.h" - #include <gtk/gtk.h> static void ink_action_finalize( GObject* obj ); @@ -155,7 +153,7 @@ static GtkWidget* ink_action_create_menu_item( GtkAction* action ) if ( act->private_data->iconId ) { gchar* label = 0; g_object_get( G_OBJECT(act), "label", &label, NULL ); - item = image_menu_item_new_with_mnemonic( label ); + item = gtk_image_menu_item_new_with_mnemonic( label ); GtkWidget* child = sp_icon_new( Inkscape::ICON_SIZE_MENU, act->private_data->iconId ); // TODO this work-around is until SPIcon will live properly inside of a popup menu @@ -170,7 +168,7 @@ static GtkWidget* ink_action_create_menu_item( GtkAction* action ) } } gtk_widget_show_all( child ); - image_menu_item_set_image( IMAGE_MENU_ITEM(item), child ); + gtk_image_menu_item_set_image( GTK_IMAGE_MENU_ITEM(item), child ); g_free( label ); label = 0; |
