From 6e5c314e6118796ebec83bac251d7c114f3015b2 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sun, 2 Sep 2012 18:08:25 +0200 Subject: [PATCH] Don't make a numeric equation between chars (openSUSE) --- src/fe-gtk/gtkutil.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fe-gtk/gtkutil.c b/src/fe-gtk/gtkutil.c index 0f402bdd..a6fb12aa 100644 --- a/src/fe-gtk/gtkutil.c +++ b/src/fe-gtk/gtkutil.c @@ -664,8 +664,10 @@ gtkutil_button (GtkWidget *box, char *stock, char *tip, void *callback, gtk_widget_show (bbox); img = gtk_image_new_from_stock (stock, GTK_ICON_SIZE_MENU); - if (stock == GTK_STOCK_GOTO_LAST) + if (strcmp (stock, GTK_STOCK_GOTO_LAST) == 0) + { gtk_widget_set_usize (img, 10, 6); + } gtk_container_add (GTK_CONTAINER (bbox), img); gtk_widget_show (img); gtk_box_pack_start (GTK_BOX (box), wid, 0, 0, 0);