[Xfce4-commits] <xfce4-session:master> Use the new API to create mixed buttons.

Nick Schermer noreply at xfce.org
Thu Jan 28 19:52:12 CET 2010


Updating branch refs/heads/master
         to 4aee9c13fb775ad1c8ca923e12023c621124d361 (commit)
       from 516732b546ad404d3c786e6b857043211b645e94 (commit)

commit 4aee9c13fb775ad1c8ca923e12023c621124d361
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Fri Jan 22 23:58:22 2010 +0100

    Use the new API to create mixed buttons.

 xfce4-session/xfsm-chooser.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/xfce4-session/xfsm-chooser.c b/xfce4-session/xfsm-chooser.c
index 1ccea77..7ed0e0a 100644
--- a/xfce4-session/xfsm-chooser.c
+++ b/xfce4-session/xfsm-chooser.c
@@ -236,7 +236,7 @@ xfsm_chooser_init (XfsmChooser *chooser)
   gtk_widget_show (chooser->tree);
 
   /* "Logout" button */
-  button = xfce_create_mixed_button (GTK_STOCK_QUIT, _("Log out"));
+  button = xfce_gtk_button_new_mixed (GTK_STOCK_QUIT, _("Log out"));
   gtk_tooltips_set_tip (chooser->tooltips, button,
                         _("Cancel the login attempt and return to "
                           "the login screen."),
@@ -246,7 +246,7 @@ xfsm_chooser_init (XfsmChooser *chooser)
   gtk_widget_show (button);
 
   /* "New" button */
-  button = xfce_create_mixed_button (GTK_STOCK_NEW, _("New session"));
+  button = xfce_gtk_button_new_mixed (GTK_STOCK_NEW, _("New session"));
   gtk_tooltips_set_tip (chooser->tooltips, button,
                         _("Create a new session."),
                         NULL);



More information about the Xfce4-commits mailing list