[PATCH] Corrected GtkTextTagTable signal parameter types.



Here is a very simple non-API patch to correct the registered parameter
types of the GtkTextTagTable signals. Permission to commit?

-- 
Murray Cumming
murrayc usa net
www.murrayc.com
? messagedialog_construct.patch
? gtkmessagedialog2.patch
? gtkmessagedialog3.patch
? gtktexttagtable_signals.patch
? docs/reference/gtk/tmpl/gtkaccelmap.sgml
? docs/reference/gtk/tmpl/gtkaccessible.sgml
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtk+/ChangeLog,v
retrieving revision 1.2578
diff -u -u -p -r1.2578 ChangeLog
--- ChangeLog	2001/11/16 11:49:33	1.2578
+++ ChangeLog	2001/11/16 15:04:57
@@ -1,3 +1,9 @@
+2001-11-16  Murray Cumming  <murrayc usa net>
+
+	* gtk/gtktexttagtable.c (gtk_text_tag_table_class_init):
+	The first parameters of the signals are now registered as
+	GTK_TYPE_TEXT_TAG instead of G_TYPE_OBJECT.
+
 2001-11-16  Sven Neumann  <sven gimp org>
 
 	* demos/gtk-demo/appwindow.c
Index: docs/reference/gtk/tmpl/gtkmessagedialog.sgml
===================================================================
RCS file: /cvs/gnome/gtk+/docs/reference/gtk/tmpl/gtkmessagedialog.sgml,v
retrieving revision 1.2
diff -u -u -p -r1.2 gtkmessagedialog.sgml
--- docs/reference/gtk/tmpl/gtkmessagedialog.sgml	2000/11/01 16:01:17	1.2
+++ docs/reference/gtk/tmpl/gtkmessagedialog.sgml	2001/11/16 15:04:57
@@ -102,3 +102,13 @@ then call gtk_dialog_add_buttons().
 @Returns: 
 
 
+<!-- ##### ARG GtkMessageDialog:message-type ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkMessageDialog:buttons ##### -->
+<para>
+
+</para>
+
Index: docs/reference/gtk/tmpl/gtktreeview.sgml
===================================================================
RCS file: /cvs/gnome/gtk+/docs/reference/gtk/tmpl/gtktreeview.sgml,v
retrieving revision 1.12
diff -u -u -p -r1.12 gtktreeview.sgml
--- docs/reference/gtk/tmpl/gtktreeview.sgml	2001/11/15 22:20:16	1.12
+++ docs/reference/gtk/tmpl/gtktreeview.sgml	2001/11/16 15:04:57
@@ -475,7 +475,6 @@ GtkTreeView
 </para>
 
 @tree_view: 
- window: 
 @x: 
 @y: 
 @path: 
@@ -483,6 +482,8 @@ GtkTreeView
 @cell_x: 
 @cell_y: 
 @Returns: 
+<!-- # Unused Parameters # -->
+ window: 
 
 
 <!-- ##### FUNCTION gtk_tree_view_get_cell_area ##### -->
Index: gtk/gtktexttagtable.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtktexttagtable.c,v
retrieving revision 1.19
diff -u -u -p -r1.19 gtktexttagtable.c
--- gtk/gtktexttagtable.c	2001/10/27 00:41:11	1.19
+++ gtk/gtktexttagtable.c	2001/11/16 15:04:58
@@ -80,7 +80,7 @@ gtk_text_tag_table_class_init (GtkTextTa
                   gtk_marshal_VOID__OBJECT_BOOLEAN,
                   G_TYPE_NONE,
                   2,
-                  G_TYPE_OBJECT,
+                  GTK_TYPE_TEXT_TAG,
                   G_TYPE_BOOLEAN);  
 
   signals[TAG_ADDED] =
@@ -92,7 +92,7 @@ gtk_text_tag_table_class_init (GtkTextTa
                   gtk_marshal_VOID__OBJECT,
                   GTK_TYPE_NONE,
                   1,
-                  G_TYPE_OBJECT);
+                  GTK_TYPE_TEXT_TAG);
 
   signals[TAG_REMOVED] =
     g_signal_new ("tag_removed",                   
@@ -103,7 +103,7 @@ gtk_text_tag_table_class_init (GtkTextTa
                   gtk_marshal_VOID__OBJECT,
                   GTK_TYPE_NONE,
                   1,
-                  G_TYPE_OBJECT);
+                  GTK_TYPE_TEXT_TAG);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]