diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2011-02-14 14:30:49 +0100 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2011-02-14 14:30:49 +0100 |
commit | 42f6055717e74ea9541c5cf6fd0fc6501bd907fd (patch) | |
tree | f3ab4f5edb69e4be352a4ee151e8b0c4131b19d4 /src/gtkutil.c | |
parent | e45de620e7a4e29ad3f5f934a36b5fcd77e50375 (diff) | |
download | emacs-42f6055717e74ea9541c5cf6fd0fc6501bd907fd.tar.gz |
* gtkutil.c (xg_tool_bar_menu_proxy): Handle case when tool bar label is null.
Diffstat (limited to 'src/gtkutil.c')
-rw-r--r-- | src/gtkutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c index 6367949a649..6ecd5d624af 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -3677,7 +3677,7 @@ xg_tool_bar_menu_proxy (GtkToolItem *toolitem, gpointer user_data) GtkLabel *wlbl = GTK_LABEL (xg_get_tool_bar_widgets (vb, &c1)); GtkImage *wimage = GTK_IMAGE (c1); GtkWidget *wmenuitem = gtk_image_menu_item_new_with_label - (gtk_label_get_text (wlbl)); + (wlbl ? gtk_label_get_text (wlbl) : ""); GtkWidget *wmenuimage; |