A NULL is needed at the end of the argument list for g_object_set().

Change-Id: I086403275d596f19ef44374f956654cf94ac9a11
Reviewed-on: https://code.wireshark.org/review/8343
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2015-05-08 00:10:30 -07:00
parent 7d0049c7fd
commit 3859e552e3
1 changed files with 1 additions and 1 deletions

View File

@ -3860,7 +3860,7 @@ add_recent_items (guint merge_id, GtkUIManager *ui_manager)
/* Disable mnemonic accelerator key for recent file name */
recent_path = g_strdup_printf ("/Menubar/FileMenu/OpenRecent/RecentFiles/recent-info-%u", i);
submenu_recent_file = gtk_ui_manager_get_widget(ui_manager, recent_path);
g_object_set(G_OBJECT (submenu_recent_file), "use-underline", 0);
g_object_set(G_OBJECT (submenu_recent_file), "use-underline", 0, NULL);
/* Add the file name to the recent files list on the Welcome screen */
main_welcome_add_recent_capture_file(item_name, G_OBJECT(action));