diff options
author | Johan Dahlin <jdahlin@async.com.br> | 2008-03-06 14:04:30 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-03-06 14:04:30 +0000 |
commit | b381678a9223bbde553b1cc2d1b7793316f0b1bc (patch) | |
tree | 5d9069ef361c75ad2a167d7af46cb543496dd1ec /gtk/gtktypeutils.h | |
parent | b4fbde69b4417e737aa2930f5b77b65a0b829186 (diff) | |
download | gtk+-b381678a9223bbde553b1cc2d1b7793316f0b1bc.tar.gz |
Move GtkTranslateFunc to gtktypeutils.h so we can completely deprecate
2008-03-06 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkitemfactory.h:
* gtk/gtktypeutils.h:
Move GtkTranslateFunc to gtktypeutils.h so we can completely
deprecate gtkitemfactory.h.
* gtk/gtkactiongroup.h:
* gtk/gtkstock.h:
Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
* README.in:
Add a note describing this slight incompatible change
svn path=/trunk/; revision=19721
Diffstat (limited to 'gtk/gtktypeutils.h')
-rw-r--r-- | gtk/gtktypeutils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtktypeutils.h b/gtk/gtktypeutils.h index 90b97ab180..e0fd6ab933 100644 --- a/gtk/gtktypeutils.h +++ b/gtk/gtktypeutils.h @@ -122,6 +122,13 @@ typedef void (*GtkCallbackMarshal) (GtkObject *object, guint n_args, GtkArg *args); typedef void (*GtkSignalFunc) (void); + +/* This used to be defined in gtkitemfactory.h, but moved over here after + * the complete deprecation of that header + */ +typedef gchar * (*GtkTranslateFunc) (const gchar *path, + gpointer func_data); + #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) (f)) #ifndef GTK_DISABLE_DEPRECATED |