[Xfce4-commits] <libxfce4ui:new-sm-client> Rename first_button_type to first_button_text to comply with the docs.

Jannis Pohlmann jannis at xfce.org
Tue Sep 15 05:26:06 CEST 2009


Updating branch refs/heads/kelnos/new-sm-client
         to e1456828dcc17c7d05ac3d202a3f0540e9ac2d6b (commit)
       from b031f4cf957eef3c2c3249a6584965da0ba8107b (commit)

commit e1456828dcc17c7d05ac3d202a3f0540e9ac2d6b
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Mon Sep 7 22:38:28 2009 +0200

    Rename first_button_type to first_button_text to comply with the docs.
    
    I personally think first_button_text is confusing so I'd rather use
    first_button_type myself.

 libxfce4ui/xfce-dialogs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libxfce4ui/xfce-dialogs.c b/libxfce4ui/xfce-dialogs.c
index 34949f6..a0c76e2 100644
--- a/libxfce4ui/xfce-dialogs.c
+++ b/libxfce4ui/xfce-dialogs.c
@@ -230,13 +230,13 @@ xfce_message_dialog_new_valist (GtkWindow   *parent,
                                 const gchar *icon_stock_id,
                                 const gchar *primary_text,
                                 const gchar *secondary_text,
-                                const gchar *first_button_type,
+                                const gchar *first_button_text,
                                 va_list      args)
 {
   GtkWidget   *dialog;
   GtkWidget   *image;
   GtkWidget   *button;
-  const gchar *text = first_button_type;
+  const gchar *text = first_button_text;
   const gchar *label;
   const gchar *stock_id;
   gint         response;



More information about the Xfce4-commits mailing list