summaryrefslogtreecommitdiff
path: root/gtk/gtkitemfactory.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-01-21 21:21:02 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-01-21 21:21:02 +0000
commit997868b7e2c492c7cd0ee3b83b5f88efec77fc03 (patch)
treec94cfdb69866e36f25f672ac3bdb789ad668a28e /gtk/gtkitemfactory.h
parent5d9b2ed63f0f779c44849f01c794cb0b6fe6aced (diff)
downloadgtk+-997868b7e2c492c7cd0ee3b83b5f88efec77fc03.tar.gz
Make GtkPrintFunc take a const string argument like GtkTranslateFunc. This
Fri Jan 21 16:16:29 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc take a const string argument like GtkTranslateFunc. This will require changes in use code.
Diffstat (limited to 'gtk/gtkitemfactory.h')
-rw-r--r--gtk/gtkitemfactory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkitemfactory.h b/gtk/gtkitemfactory.h
index dcf21514ab..6b7c21e367 100644
--- a/gtk/gtkitemfactory.h
+++ b/gtk/gtkitemfactory.h
@@ -42,7 +42,7 @@ extern "C" {
typedef void (*GtkPrintFunc) (gpointer func_data,
- gchar *str);
+ const gchar *str);
typedef gchar * (*GtkTranslateFunc) (const gchar *path,
gpointer func_data);
typedef void (*GtkItemFactoryCallback) ();
@@ -172,7 +172,7 @@ void gtk_item_factory_dump_rc (const gchar *file_name,
GtkPatternSpec *path_pspec,
gboolean modified_only);
void gtk_item_factory_print_func (gpointer FILE_pointer,
- gchar *string);
+ const gchar *string);
void gtk_item_factory_create_item (GtkItemFactory *ifactory,
GtkItemFactoryEntry *entry,
gpointer callback_data,