depend on glib >= 2.10.2, gtk+ >= 2.8.18 and pango >= 1.12.3. Define
2006-07-05 Michael Natterer <mitch@gimp.org> * configure.in: depend on glib >= 2.10.2, gtk+ >= 2.8.18 and pango >= 1.12.3. Define FOO_DISABLE_DEPRECATED also for glib 2.12, gtk+ 2.10 and pango 2.14 * app/sanity.c * app/gui/gui.c: adjusted sanity checks accordingly. * app/dialogs/stroke-dialog.c * app/widgets/gimpeditor.c * app/widgets/gimpuimanager.c * libgimpwidgets/gimphelpui.c * libgimpwidgets/gimpmemsizeentry.c * plug-ins/helpbrowser/gimpthrobber.c: replace gtk_object_sink() by combinations of g_object_ref_sink() and g_object_unref().
This commit is contained in:

committed by
Michael Natterer

parent
73f770122b
commit
6feb7bb82c
@ -725,7 +725,10 @@ gimp_ui_manager_entry_ensure (GimpUIManager *manager,
|
||||
|
||||
/* take ownership of popup menus */
|
||||
if (GTK_IS_MENU (entry->widget))
|
||||
gtk_object_sink (GTK_OBJECT (entry->widget));
|
||||
{
|
||||
g_object_ref_sink (entry->widget);
|
||||
g_object_unref (entry->widget);
|
||||
}
|
||||
|
||||
if (entry->setup_func)
|
||||
entry->setup_func (manager, entry->ui_path);
|
||||
|
Reference in New Issue
Block a user