patch 7.4.1803
Problem: GTK3 doesn't handle menu separaters properly.
Solution: Use gtk_separator_menu_item_new(). (Kazunobu Kuriyama)
diff --git a/src/gui_gtk.c b/src/gui_gtk.c
index 55d1000..81320dd 100644
--- a/src/gui_gtk.c
+++ b/src/gui_gtk.c
@@ -781,8 +781,12 @@
if (menu_is_separator(menu->name))
{
/* Separator: Just add it */
+# if GTK_CHECK_VERSION(3,0,0)
+ menu->id = gtk_separator_menu_item_new();
+# else
menu->id = gtk_menu_item_new();
gtk_widget_set_sensitive(menu->id, FALSE);
+# endif
gtk_widget_show(menu->id);
# if GTK_CHECK_VERSION(3,0,0)
gtk_menu_shell_insert(GTK_MENU_SHELL(parent->submenu_id),
diff --git a/src/version.c b/src/version.c
index fc31642..ff275cf 100644
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1803,
+/**/
1802,
/**/
1801,