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 8031832..cedf6b1 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 8031832..cedf6b1 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 8031832..cedf6b1 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 8031832..cedf6b1 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 8031832..cedf6b1 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 2921253..0f42e16 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 ce0fbcb..4c132c8 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.