* atk/Object.custom, atk/glue/object.c: Remove unneeded

return types (I don't  know why gcc ever let this compile...).

svn path=/trunk/gtk-sharp/; revision=102720
This commit is contained in:
Andrés G. Aragoneses 2008-05-07 12:49:37 +00:00
parent 22add1100a
commit c4967d7cb9
3 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2008-05-07 Mike Kestner <mkestner@novell.com>
* atk/Object.custom, atk/glue/object.c: Remove unneeded
return types (I don't know why gcc ever let this compile...).
2008-05-06 Mike Kestner <mkestner@novell.com>
* glib/Object.cs: revert the connection optimization from r102349.

View File

@ -22,7 +22,7 @@
// Boston, MA 02111-1307, USA.
[DllImport("atksharpglue-2")]
static extern int atksharp_object_override_get_n_children (IntPtr type, NChildrenDelegate cb);
static extern void atksharp_object_override_get_n_children (IntPtr type, NChildrenDelegate cb);
[GLib.CDeclCallback]
delegate int NChildrenDelegate (IntPtr raw);
@ -54,7 +54,7 @@
}
[DllImport("atksharpglue-2")]
static extern IntPtr atksharp_object_override_ref_child (IntPtr type, RefChildDelegate cb);
static extern void atksharp_object_override_ref_child (IntPtr type, RefChildDelegate cb);
[GLib.CDeclCallback]
delegate IntPtr RefChildDelegate (IntPtr raw, int i);

View File

@ -22,9 +22,11 @@
#include <atk/atk.h>
gint atksharp_object_override_get_n_children (GType gtype, gpointer cb);
void atksharp_object_override_get_n_children (GType gtype, gpointer cb);
gint
void atksharp_object_override_ref_child (GType gtype, gpointer cb);
void
atksharp_object_override_get_n_children (GType gtype, gpointer cb)
{
AtkObjectClass *klass = g_type_class_peek (gtype);
@ -33,9 +35,7 @@ atksharp_object_override_get_n_children (GType gtype, gpointer cb)
((AtkObjectClass *) klass)->get_n_children = cb;
}
AtkObject* atksharp_object_override_ref_child (GType gtype, gpointer cb);
AtkObject*
void
atksharp_object_override_ref_child (GType gtype, gpointer cb)
{
AtkObjectClass *klass = g_type_class_peek (gtype);