1 diff -puNr gtk+-2.10.4.orig/gtk/gtkclipboard.h gtk+-2.10.4/gtk/gtkclipboard.h
2 --- gtk+-2.10.4.orig/gtk/gtkclipboard.h 2006-04-24 07:42:12.000000000 +0200
3 +++ gtk+-2.10.4/gtk/gtkclipboard.h 2006-09-27 12:45:36.000000000 +0200
4 @@ -30,6 +30,9 @@ G_BEGIN_DECLS
5 #define GTK_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CLIPBOARD, GtkClipboard))
6 #define GTK_IS_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CLIPBOARD))
8 +typedef struct _GtkClipboard GtkClipboard;
9 +typedef struct _GtkClipboardClass GtkClipboardClass;
11 typedef void (* GtkClipboardReceivedFunc) (GtkClipboard *clipboard,
12 GtkSelectionData *selection_data,
14 diff -puNr gtk+-2.10.4.orig/gtk/gtkfilechooser.h gtk+-2.10.4/gtk/gtkfilechooser.h
15 --- gtk+-2.10.4.orig/gtk/gtkfilechooser.h 2005-10-10 16:29:03.000000000 +0200
16 +++ gtk+-2.10.4/gtk/gtkfilechooser.h 2006-09-27 12:45:36.000000000 +0200
17 @@ -29,6 +29,7 @@ G_BEGIN_DECLS
18 #define GTK_TYPE_FILE_CHOOSER (gtk_file_chooser_get_type ())
19 #define GTK_FILE_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER, GtkFileChooser))
20 #define GTK_IS_FILE_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER))
21 +#define GTK_FILE_CHOOSER_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_FILE_CHOOSER, GtkFileChooserIface))
23 typedef struct _GtkFileChooser GtkFileChooser;
25 diff -puNr gtk+-2.10.4.orig/gtk/gtktreemodel.c gtk+-2.10.4/gtk/gtktreemodel.c
26 --- gtk+-2.10.4.orig/gtk/gtktreemodel.c 2006-08-16 22:52:23.000000000 +0200
27 +++ gtk+-2.10.4/gtk/gtktreemodel.c 2006-09-27 13:06:17.000000000 +0200
28 @@ -193,14 +193,15 @@ gtk_tree_model_base_init (gpointer g_cla
29 closure = g_closure_new_simple (sizeof (GClosure), NULL);
30 g_closure_set_marshal (closure, row_inserted_marshal);
31 tree_model_signals[ROW_INSERTED] =
32 - g_signal_newv (I_("row_inserted"),
33 - GTK_TYPE_TREE_MODEL,
37 - _gtk_marshal_VOID__BOXED_BOXED,
39 - row_inserted_params);
40 + g_signal_new (I_("row_inserted"),
41 + GTK_TYPE_TREE_MODEL,
43 + G_STRUCT_OFFSET (GtkTreeModelIface, row_inserted),
45 + _gtk_marshal_VOID__BOXED_BOXED,
47 + GTK_TYPE_TREE_PATH | G_SIGNAL_TYPE_STATIC_SCOPE,
48 + GTK_TYPE_TREE_ITER);
51 * GtkTreeModel::row-has-child-toggled:
52 @@ -242,14 +243,14 @@ gtk_tree_model_base_init (gpointer g_cla
53 closure = g_closure_new_simple (sizeof (GClosure), NULL);
54 g_closure_set_marshal (closure, row_deleted_marshal);
55 tree_model_signals[ROW_DELETED] =
56 - g_signal_newv (I_("row_deleted"),
57 - GTK_TYPE_TREE_MODEL,
61 - _gtk_marshal_VOID__BOXED,
63 - row_deleted_params);
64 + g_signal_new (I_("row_deleted"),
65 + GTK_TYPE_TREE_MODEL,
67 + G_STRUCT_OFFSET (GtkTreeModelIface, row_deleted),
69 + _gtk_marshal_VOID__BOXED,
71 + GTK_TYPE_TREE_PATH | G_SIGNAL_TYPE_STATIC_SCOPE);
74 * GtkTreeModel::rows-reordered:
75 @@ -268,14 +269,16 @@ gtk_tree_model_base_init (gpointer g_cla
76 closure = g_closure_new_simple (sizeof (GClosure), NULL);
77 g_closure_set_marshal (closure, rows_reordered_marshal);
78 tree_model_signals[ROWS_REORDERED] =
79 - g_signal_newv (I_("rows_reordered"),
80 - GTK_TYPE_TREE_MODEL,
84 - _gtk_marshal_VOID__BOXED_BOXED_POINTER,
86 - rows_reordered_params);
87 + g_signal_new (I_("rows_reordered"),
88 + GTK_TYPE_TREE_MODEL,
90 + G_STRUCT_OFFSET (GtkTreeModelIface, rows_reordered),
92 + _gtk_marshal_VOID__BOXED_BOXED_POINTER,
94 + GTK_TYPE_TREE_PATH | G_SIGNAL_TYPE_STATIC_SCOPE,