diff options
Diffstat (limited to 'gtk/gtkdrawingarea.h')
-rw-r--r-- | gtk/gtkdrawingarea.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkdrawingarea.h b/gtk/gtkdrawingarea.h index 3f0ee3eab0..2cc32e6d62 100644 --- a/gtk/gtkdrawingarea.h +++ b/gtk/gtkdrawingarea.h @@ -106,6 +106,8 @@ void gtk_drawing_area_set_draw_func (GtkDrawingArea gpointer user_data, GDestroyNotify destroy); +G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkDrawingArea, g_object_unref) + G_END_DECLS #endif /* __GTK_DRAWING_AREA_H__ */ |