[Xfce4-commits] <parole:bluesabre/gtk3> Fix button image on minimize dialog

Sean Davis noreply at xfce.org
Mon Sep 2 04:32:01 CEST 2013


Updating branch refs/heads/bluesabre/gtk3
         to 0a2464ce6415f8b0637af50e28e802266fd99c27 (commit)
       from 741f56098af5baeceabbe86f63690f69fbb4c4de (commit)

commit 0a2464ce6415f8b0637af50e28e802266fd99c27
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sun Sep 1 22:31:32 2013 -0400

    Fix button image on minimize dialog

 src/plugins/tray/tray-provider.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/plugins/tray/tray-provider.c b/src/plugins/tray/tray-provider.c
index 4087525..2b84b99 100644
--- a/src/plugins/tray/tray-provider.c
+++ b/src/plugins/tray/tray-provider.c
@@ -352,9 +352,9 @@ delete_event_cb (GtkWidget *widget, GdkEvent *ev, TrayProvider *tray)
     img = gtk_image_new_from_icon_name ("gtk-cancel", GTK_ICON_SIZE_BUTTON);
     gtk_button_set_image(GTK_BUTTON(button), img);
     
-    gtk_dialog_add_button(  GTK_DIALOG(dialog),
-                            _("Quit"),
-                            GTK_RESPONSE_CLOSE );
+    button = gtk_dialog_add_button(  GTK_DIALOG(dialog),
+                                     _("Quit"),
+                                     GTK_RESPONSE_CLOSE );
     img = gtk_image_new_from_icon_name ("gtk-quit", GTK_ICON_SIZE_BUTTON);
     gtk_button_set_image(GTK_BUTTON(button), img);
                                     


More information about the Xfce4-commits mailing list