summaryrefslogtreecommitdiff
path: root/ext/gtk/gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gtk/gtk.c')
-rw-r--r--ext/gtk/gtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gtk/gtk.c b/ext/gtk/gtk.c
index 1d0d241369b..21079026fce 100644
--- a/ext/gtk/gtk.c
+++ b/ext/gtk/gtk.c
@@ -1172,7 +1172,7 @@ static GtkObject*
try_get_gobject(self)
VALUE self;
{
- return (GtkObject*)rb_rescue(get_gobject, self, nil, Qnil);
+ return (GtkObject*)rb_rescue((VALUE(*)())get_gobject, self, nil, 0);
}
static VALUE