summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2015-08-28 15:26:56 +0200
committerJuan A. Suarez Romero <jasuarez@igalia.com>2015-09-06 16:03:58 +0200
commit0535e319a549c96ffa7c956813fa4a03db41c808 (patch)
treefaf15e522b6024dc254b31c872cd324e51c3db82
parent2187ceaf8a7ecc16a59d8c33c0700600cd62fa49 (diff)
downloadgrilo-0535e319a549c96ffa7c956813fa4a03db41c808.tar.gz
grilo-test-ui: Fix warning about deprecated gtk-menu-images
Menus don't use images in recent versions of GTK+: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version. Remove the icons from the menu items. https://bugzilla.gnome.org/show_bug.cgi?id=754401
-rw-r--r--tools/grilo-test-ui/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/grilo-test-ui/main.c b/tools/grilo-test-ui/main.c
index 17d1243..eb93593 100644
--- a/tools/grilo-test-ui/main.c
+++ b/tools/grilo-test-ui/main.c
@@ -231,19 +231,19 @@ static void content_changed_cb (GrlSource *source,
static GtkActionEntry entries[] = {
{ "FileMenuAction", NULL, "_File" },
#ifdef HAVE_OAUTH
- { "AuthorizeFlickrAction", GTK_STOCK_CONNECT, "_Authorize Flickr", NULL,
+ { "AuthorizeFlickrAction", NULL, "_Authorize Flickr", NULL,
"AuthorizeFlickr", G_CALLBACK (authorize_flickr_cb) },
#endif
- { "ShutdownPluginsAction", GTK_STOCK_REFRESH, "_Shutdown Plugins", NULL,
+ { "ShutdownPluginsAction", NULL, "_Shutdown Plugins", NULL,
"ShutdownPlugins", G_CALLBACK (shutdown_plugins_cb) },
- { "LoadAllPluginsAction", GTK_STOCK_REFRESH, "_Load All Plugins", NULL,
+ { "LoadAllPluginsAction", NULL, "_Load All Plugins", NULL,
"LoadAllPlugins", G_CALLBACK (load_all_plugins_cb) },
- { "QuitAction", GTK_STOCK_QUIT, "_Quit", "<control>Q",
+ { "QuitAction", NULL, "_Quit", "<control>Q",
"Quit", G_CALLBACK (quit_cb) }
};
static GtkToggleActionEntry toggle_entries[] = {
- { "ChangesNotificationAction", GTK_STOCK_FIND, "_Changes notification", NULL,
+ { "ChangesNotificationAction", NULL, "_Changes notification", NULL,
"ChangesNotification", G_CALLBACK (changes_notification_cb), FALSE }
};