From 15a5ee96af2aa9f62269595f14c8ebec6f132860 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 21 Jun 2005 05:15:06 +0000 Subject: [PATCH] Consistently use gchar. (#303455, Benoit Carpentier) 2005-06-21 Matthias Clasen * gtk/gtklabel.h: Consistently use gchar. (#303455, Benoit Carpentier) --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ ChangeLog.pre-2-8 | 3 +++ gtk/gtklabel.h | 8 ++++---- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9b96eb41a3..aa20dda334 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-06-21 Matthias Clasen + * gtk/gtklabel.h: Consistently use gchar. (#303455, + Benoit Carpentier) + * gdk/gdk.symbols: * gdk/gdkwindow.h: * gdk/x11/gdkgeometry-x11.c (gdk_window_move_region): New diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 9b96eb41a3..aa20dda334 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-06-21 Matthias Clasen + * gtk/gtklabel.h: Consistently use gchar. (#303455, + Benoit Carpentier) + * gdk/gdk.symbols: * gdk/gdkwindow.h: * gdk/x11/gdkgeometry-x11.c (gdk_window_move_region): New diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 9b96eb41a3..aa20dda334 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 2005-06-21 Matthias Clasen + * gtk/gtklabel.h: Consistently use gchar. (#303455, + Benoit Carpentier) + * gdk/gdk.symbols: * gdk/gdkwindow.h: * gdk/x11/gdkgeometry-x11.c (gdk_window_move_region): New diff --git a/gtk/gtklabel.h b/gtk/gtklabel.h index e8c6309fbf..3bbaade26d 100644 --- a/gtk/gtklabel.h +++ b/gtk/gtklabel.h @@ -95,10 +95,10 @@ struct _GtkLabelClass }; GType gtk_label_get_type (void) G_GNUC_CONST; -GtkWidget* gtk_label_new (const char *str); -GtkWidget* gtk_label_new_with_mnemonic (const char *str); +GtkWidget* gtk_label_new (const gchar *str); +GtkWidget* gtk_label_new_with_mnemonic (const gchar *str); void gtk_label_set_text (GtkLabel *label, - const char *str); + const gchar *str); G_CONST_RETURN gchar* gtk_label_get_text (GtkLabel *label); void gtk_label_set_attributes (GtkLabel *label, PangoAttrList *attrs); @@ -166,7 +166,7 @@ gboolean gtk_label_get_single_line_mode (GtkLabel *label); #define gtk_label_set gtk_label_set_text void gtk_label_get (GtkLabel *label, - char **str); + gchar **str); /* Convenience function to set the name and pattern by parsing * a string with embedded underscores, and return the appropriate