forked from AuroraMiddleware/gtk
cast attach_info_free() to GDestroyNotify when using it in
2008-05-30 Michael Natterer <mitch@imendio.com> * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to GDestroyNotify when using it in g_object_set_data_full(). svn path=/trunk/; revision=20257
This commit is contained in:
parent
f18bfd0aac
commit
bd2b0d30a8
@ -1,3 +1,8 @@
|
||||
2008-05-30 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
|
||||
GDestroyNotify when using it in g_object_set_data_full().
|
||||
|
||||
2008-05-30 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gdk/gdkapplaunchcontext.h
|
||||
|
@ -280,7 +280,8 @@ get_attach_info (GtkWidget *child)
|
||||
if (!ai)
|
||||
{
|
||||
ai = g_slice_new0 (AttachInfo);
|
||||
g_object_set_data_full (object, I_(ATTACH_INFO_KEY), ai, attach_info_free);
|
||||
g_object_set_data_full (object, I_(ATTACH_INFO_KEY), ai,
|
||||
(GDestroyNotify) attach_info_free);
|
||||
}
|
||||
|
||||
return ai;
|
||||
|
Loading…
Reference in New Issue
Block a user