2014-10-19 Jan Djärv <jan.h.d@swipnet.se>
+ * gtkutil.c (xg_update_menubar, xg_update_menu_item): Only call
+ g_object_notify for label if Gtk+ >= 2.16 (Bug#16522).
+
* xterm.h (x_output): Remove net_wm_state_hidden_seen.
* xterm.c (handle_one_xevent): Check return value from
bridge that might be loaded) that the item's label has
changed. */
gtk_label_set_text (wlabel, utf8_label);
+#if GTK_CHECK_VERSION (2, 16, 0)
g_object_notify (G_OBJECT (witem), "label");
-
+#endif
if (utf8_label) g_free (utf8_label);
iter = g_list_next (iter);
val = val->next;
}
}
+#if GTK_CHECK_VERSION (2, 16, 0)
if (label_changed) /* See comment in xg_update_menubar. */
g_object_notify (G_OBJECT (w), "label");
+#endif
}
/* Update the toggle menu item W so it corresponds to VAL. */