diff options
author | Javier Jardón <jjardon@gnome.org> | 2011-06-06 19:13:44 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2011-06-10 13:07:54 +0100 |
commit | bf0d8402f5382fadd32a9748d00a4bcd715ea07a (patch) | |
tree | fb60ab4c6589c0dac140fe16b63fced2d7bbf070 /gtk/gtkentry.h | |
parent | a8f5a8b9190d4c72f46a38579f23f2f2acfb174a (diff) | |
download | gtk+-bf0d8402f5382fadd32a9748d00a4bcd715ea07a.tar.gz |
gtk: Use const instead G_CONST_RETURN
Diffstat (limited to 'gtk/gtkentry.h')
-rw-r--r-- | gtk/gtkentry.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h index 2bca501592..605d293962 100644 --- a/gtk/gtkentry.h +++ b/gtk/gtkentry.h @@ -149,9 +149,9 @@ void gtk_entry_set_has_frame (GtkEntry *entry, gboolean setting); gboolean gtk_entry_get_has_frame (GtkEntry *entry); -void gtk_entry_set_inner_border (GtkEntry *entry, - const GtkBorder *border); -G_CONST_RETURN GtkBorder* gtk_entry_get_inner_border (GtkEntry *entry); +void gtk_entry_set_inner_border (GtkEntry *entry, + const GtkBorder *border); +const GtkBorder* gtk_entry_get_inner_border (GtkEntry *entry); void gtk_entry_set_overwrite_mode (GtkEntry *entry, gboolean overwrite); @@ -176,7 +176,7 @@ gint gtk_entry_get_width_chars (GtkEntry *entry); void gtk_entry_set_text (GtkEntry *entry, const gchar *text); /* returns a reference to the text */ -G_CONST_RETURN gchar* gtk_entry_get_text (GtkEntry *entry); +const gchar* gtk_entry_get_text (GtkEntry *entry); PangoLayout* gtk_entry_get_layout (GtkEntry *entry); void gtk_entry_get_layout_offsets (GtkEntry *entry, @@ -213,10 +213,10 @@ gdouble gtk_entry_get_progress_pulse_step (GtkEntry *entry); void gtk_entry_progress_pulse (GtkEntry *entry); -G_CONST_RETURN gchar* gtk_entry_get_placeholder_text (GtkEntry *entry); +const gchar* gtk_entry_get_placeholder_text (GtkEntry *entry); -void gtk_entry_set_placeholder_text (GtkEntry *entry, - const gchar *text); +void gtk_entry_set_placeholder_text (GtkEntry *entry, + const gchar *text); /* Setting and managing icons */ void gtk_entry_set_icon_from_pixbuf (GtkEntry *entry, |