Move GTranslateFunc to gtypes.h
authorAnders Carlsson <andersca@gnome.org>
Mon, 2 Aug 2004 22:24:17 +0000 (22:24 +0000)
committerAnders Carlsson <andersca@src.gnome.org>
Mon, 2 Aug 2004 22:24:17 +0000 (22:24 +0000)
2004-08-03  Anders Carlsson  <andersca@gnome.org>

* glib/goption.h:
* glib/gtypes.h:
Move GTranslateFunc to gtypes.h

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/goption.h
glib/gtypes.h

index 803183296a6208a93dbb7fae25ed90ec7978ce08..cedf6b19574c61622785365fce09c9545bf84996 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-08-03  Anders Carlsson  <andersca@gnome.org>
+
+       * glib/goption.h:
+       * glib/gtypes.h:
+       Move GTranslateFunc to gtypes.h
+       
 2004-08-02  Anders Carlsson  <andersca@gnome.org>
 
        * glib/Makefile.am:
index 803183296a6208a93dbb7fae25ed90ec7978ce08..cedf6b19574c61622785365fce09c9545bf84996 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-03  Anders Carlsson  <andersca@gnome.org>
+
+       * glib/goption.h:
+       * glib/gtypes.h:
+       Move GTranslateFunc to gtypes.h
+       
 2004-08-02  Anders Carlsson  <andersca@gnome.org>
 
        * glib/Makefile.am:
index 803183296a6208a93dbb7fae25ed90ec7978ce08..cedf6b19574c61622785365fce09c9545bf84996 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-03  Anders Carlsson  <andersca@gnome.org>
+
+       * glib/goption.h:
+       * glib/gtypes.h:
+       Move GTranslateFunc to gtypes.h
+       
 2004-08-02  Anders Carlsson  <andersca@gnome.org>
 
        * glib/Makefile.am:
index 803183296a6208a93dbb7fae25ed90ec7978ce08..cedf6b19574c61622785365fce09c9545bf84996 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-03  Anders Carlsson  <andersca@gnome.org>
+
+       * glib/goption.h:
+       * glib/gtypes.h:
+       Move GTranslateFunc to gtypes.h
+       
 2004-08-02  Anders Carlsson  <andersca@gnome.org>
 
        * glib/Makefile.am:
index 803183296a6208a93dbb7fae25ed90ec7978ce08..cedf6b19574c61622785365fce09c9545bf84996 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-03  Anders Carlsson  <andersca@gnome.org>
+
+       * glib/goption.h:
+       * glib/gtypes.h:
+       Move GTranslateFunc to gtypes.h
+       
 2004-08-02  Anders Carlsson  <andersca@gnome.org>
 
        * glib/Makefile.am:
index 2921253bd291c8d1c04a26879bfd287f6cb7fe1f..0f42e16b8e9a0b117e648d4bfe36bd912713cea8 100644 (file)
 
 G_BEGIN_DECLS
 
-/* Should go into gtypes.h */
-typedef const gchar * (*GTranslateFunc) (const gchar *str,
-                                        gpointer     data);
-
 typedef struct _GOptionContext GOptionContext;
 typedef struct _GOptionGroup   GOptionGroup;
 typedef struct _GOptionEntry   GOptionEntry;
index ce0fbcb57fcbbdce17dbb57dbc40aacc5ee2a0d0..4c132c8ddfc21f5b288eadad19675bf7dd2e14e1 100644 (file)
@@ -87,6 +87,9 @@ typedef void            (*GHFunc)               (gpointer       key,
                                                  gpointer       value,
                                                  gpointer       user_data);
 typedef void            (*GFreeFunc)            (gpointer       data);
+typedef const gchar *   (*GTranslateFunc)       (const gchar   *str,
+                                                gpointer       data);
+
 
 /* Define some mathematical constants that aren't available
  * symbolically in some strict ISO C implementations.