Pass --internal to glib-genmarshal
authorAlexander Larsson <alexl@redhat.com>
Mon, 7 Jan 2008 13:56:10 +0000 (13:56 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Mon, 7 Jan 2008 13:56:10 +0000 (13:56 +0000)
2008-01-07  Alexander Larsson  <alexl@redhat.com>

        * Makefile.am:
Pass --internal to glib-genmarshal

        * gfilemonitor.c:
        * gmountoperation.c:
        * gio-marshal.list:
Use better types for signal arguments (#507822)

svn path=/trunk/; revision=6263

gio/ChangeLog
gio/Makefile.am
gio/gfilemonitor.c
gio/gio-marshal.list
gio/gmountoperation.c

index 7348b2a98ae13e4d44c8f218ee88f6d8b57c6e68..b3a48c602dc659ae40a41396877d74b68366e9dc 100644 (file)
@@ -1,3 +1,13 @@
+2008-01-07  Alexander Larsson  <alexl@redhat.com>
+
+        * Makefile.am:
+       Pass --internal to glib-genmarshal
+       
+        * gfilemonitor.c:
+        * gmountoperation.c:
+        * gio-marshal.list:
+       Use better types for signal arguments (#507822)
+
 2008-01-07  Alexander Larsson  <alexl@redhat.com>
 
         * Makefile.am:
index 76cb75364115ddfaa5b5c72494660fe22f30f19c..07f6af12afa67cf917a09718fedd95e21888a254 100644 (file)
@@ -51,12 +51,12 @@ else
 endif
 
 gio-marshal.h: gio-marshal.list
-       $(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --header > $@.tmp && \
+       $(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --header --internal > $@.tmp && \
          mv $@.tmp $@
 
 gio-marshal.c: gio-marshal.h gio-marshal.list
        (echo "#include \"gio-marshal.h\""; \
-       $(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --body) > $@.tmp && \
+       $(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --body --internal) > $@.tmp && \
          mv $@.tmp $@
 
 local_sources = \
index f5d7a49d423553740e76cefdc22f59e6c7b0345d..e481fc1e5c0e426a27627e64b575fe6617c9870b 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "gfilemonitor.h"
 #include "gio-marshal.h"
+#include "gioenumtypes.h"
 #include "gvfs.h"
 #include "glibintl.h"
 
@@ -194,9 +195,9 @@ g_file_monitor_class_init (GFileMonitorClass *klass)
                  G_SIGNAL_RUN_LAST,
                  G_STRUCT_OFFSET (GFileMonitorClass, changed),
                  NULL, NULL,
-                 _gio_marshal_VOID__OBJECT_OBJECT_INT,
+                 _gio_marshal_VOID__OBJECT_OBJECT_ENUM,
                  G_TYPE_NONE, 3,
-                 G_TYPE_FILE, G_TYPE_FILE, G_TYPE_INT); 
+                 G_TYPE_FILE, G_TYPE_FILE, G_TYPE_FILE_MONITOR_EVENT);
 
   g_object_class_install_property (object_class,
                                    PROP_RATE_LIMIT,
index 4c4ae5a7d99644b2f757b31b239cc26ff99a1ed4..d06467d8b30b7a97a3257f1a645abab36e4bc592 100644 (file)
@@ -1,4 +1,4 @@
-BOOLEAN:STRING,STRING,STRING,UINT
-BOOLEAN:STRING,POINTER
+BOOLEAN:STRING,STRING,STRING,FLAGS
+BOOLEAN:STRING,BOXED
 VOID:BOOLEAN,POINTER
-VOID:OBJECT,OBJECT,INT
+VOID:OBJECT,OBJECT,ENUM
index 44a42697300619ce1341e190c01748035c77e837..bdaa7d9b2df6dd9414eb44e367904e900bf3dc5c 100644 (file)
@@ -257,9 +257,9 @@ g_mount_operation_class_init (GMountOperationClass *klass)
                  G_SIGNAL_RUN_LAST,
                  G_STRUCT_OFFSET (GMountOperationClass, ask_password),
                  boolean_handled_accumulator, NULL,
-                 _gio_marshal_BOOLEAN__STRING_STRING_STRING_UINT,
+                 _gio_marshal_BOOLEAN__STRING_STRING_STRING_FLAGS,
                  G_TYPE_BOOLEAN, 4,
-                 G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_UINT);
+                 G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_ASK_PASSWORD_FLAGS);
                  
   /**
    * GMountOperation::ask-question:
@@ -276,9 +276,9 @@ g_mount_operation_class_init (GMountOperationClass *klass)
                  G_SIGNAL_RUN_LAST,
                  G_STRUCT_OFFSET (GMountOperationClass, ask_question),
                  boolean_handled_accumulator, NULL,
-                 _gio_marshal_BOOLEAN__STRING_POINTER,
+                 _gio_marshal_BOOLEAN__STRING_BOXED,
                  G_TYPE_BOOLEAN, 2,
-                 G_TYPE_STRING, G_TYPE_POINTER);
+                 G_TYPE_STRING, G_TYPE_STRV);
                  
   /**
    * GMountOperation::reply: