diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-05-08 00:10:30 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-05-08 07:11:14 +0000 |
commit | 3859e552e35aa2183fc1b5bac62470bac4324743 (patch) | |
tree | 082ce4265540c0ffd57da4f6f65e4c8c11af0aec | |
parent | 7d0049c7fd0b6a4706701b9e0c29c218ccf2eb69 (diff) | |
download | wireshark-3859e552e35aa2183fc1b5bac62470bac4324743.tar.gz wireshark-3859e552e35aa2183fc1b5bac62470bac4324743.tar.bz2 wireshark-3859e552e35aa2183fc1b5bac62470bac4324743.zip |
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>
-rw-r--r-- | ui/gtk/main_menubar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/main_menubar.c b/ui/gtk/main_menubar.c index 70ed8d6a1d..9bd2f48f72 100644 --- a/ui/gtk/main_menubar.c +++ b/ui/gtk/main_menubar.c @@ -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)); |