make gtk-doc handle signals on interfaces
- From: Matthias Clasen <maclas gmx de>
- To: gtk-doc-list gnome org
- Subject: make gtk-doc handle signals on interfaces
- Date: 09 Mar 2002 22:48:34 +0100
I have just attached the following patches to
http://bugzilla.gnome.org/show_bug.cgi?id=74097
Index: gtkdoc-mkdb.in
===================================================================
RCS file: /cvs/gnome/gtk-doc/gtkdoc-mkdb.in,v
retrieving revision 1.40
diff -u -b -B -p -r1.40 gtkdoc-mkdb.in
--- gtkdoc-mkdb.in 18 Jan 2002 17:24:48 -0000 1.40
+++ gtkdoc-mkdb.in 9 Mar 2002 21:40:26 -0000
@@ -1006,8 +1007,8 @@ sub OutputSGMLFile {
my $args_synop = "";
my $args_desc = "";
my $hierarchy = "";
- if (&CheckIsObject ($title)) {
($signals_synop, $signals_desc) = &GetSignals ($title);
+ if (&CheckIsObject ($title)) {
($args_synop, $args_desc) = &GetArgs ($title);
$hierarchy = &GetHierarchy ($title);
}
Index: gtkdoc-scangobj.in
===================================================================
RCS file: /cvs/gnome/gtk-doc/gtkdoc-scangobj.in,v
retrieving revision 1.20
diff -u -b -B -p -r1.20 gtkdoc-scangobj.in
--- gtkdoc-scangobj.in 23 Jan 2002 23:42:57 -0000 1.20
+++ gtkdoc-scangobj.in 9 Mar 2002 21:40:32 -0000
@@ -68,7 +68,7 @@ open TYPES, $TYPES_FILE || die "Cannot o
open OUTPUT, ">$MODULE-scan.c" || die "Cannot open $MODULE-scan.c: $!\n";
my $old_signals_filename = "$OUTPUT_DIR/$MODULE.signals";
-my $new_signals_filename = "$OUTPUT_DIR/MODULE.signals.new";
+my $new_signals_filename = "$OUTPUT_DIR/$MODULE.signals.new";
my $old_hierarchy_filename = "$OUTPUT_DIR/$MODULE.hierarchy";
my $new_hierarchy_filename = "$OUTPUT_DIR/$MODULE.hierarchy.new";
my $old_args_filename = "$OUTPUT_DIR/$MODULE.args";
@@ -119,6 +119,7 @@ print OUTPUT <<EOT;
* their signals and properties.
*/
for (i=0; object_types[i]; i++)
+ if (G_TYPE_IS_CLASSED (object_types[i]))
g_type_class_ref (object_types[i]);
return object_types;
@@ -746,6 +747,9 @@ output_widget_args (FILE *fp, GType obje
GParamSpec **properties;
guint n_properties;
+ if (!G_TYPE_IS_CLASSED (object_type))
+ return;
+
class = g_type_class_peek (object_type);
if (!class)
return;
Index: gtk.types
===================================================================
RCS file: /cvs/gnome/gtk+/docs/reference/gtk/gtk.types,v
retrieving revision 1.10
diff -u -b -B -p -r1.10 gtk.types
--- gtk.types 17 Dec 2001 23:06:47 -0000 1.10
+++ gtk.types 9 Mar 2002 21:40:26 -0000
@@ -121,3 +121,9 @@ gtk_vseparator_get_type
gtk_widget_get_type
gtk_window_get_type
gtk_window_group_get_type
+gtk_editable_get_type
+gtk_cell_editable_get_type
+gtk_tree_model_get_type
+gtk_tree_sortable_get_type
+gtk_tree_drag_source_get_type
+gtk_tree_drag_dest_get_type
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]