mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 20:12:30 +00:00
check ui_manager before accessing it. Fixes warnings on destruction.
2006-12-12 Sven Neumann <sven@gimp.org> * app/widgets/gimpdockbook.c (gimp_dockbook_get_tab_widget): check ui_manager before accessing it. Fixes warnings on destruction.
This commit is contained in:
parent
939b780530
commit
25dc6fe45d
|
@ -1,3 +1,8 @@
|
|||
2006-12-12 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/widgets/gimpdockbook.c (gimp_dockbook_get_tab_widget): check
|
||||
ui_manager before accessing it. Fixes warnings on destruction.
|
||||
|
||||
2006-12-12 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell.c (gimp_display_shell_new):
|
||||
|
|
|
@ -407,7 +407,8 @@ gimp_dockbook_get_tab_widget (GimpDockbook *dockbook,
|
|||
}
|
||||
|
||||
/* EEK */
|
||||
if (GIMP_IS_IMAGE_DOCK (dockbook->dock))
|
||||
if (GIMP_IS_IMAGE_DOCK (dockbook->dock) &&
|
||||
GIMP_IMAGE_DOCK (dockbook->dock)->ui_manager != NULL)
|
||||
{
|
||||
const gchar *dialog_id;
|
||||
|
||||
|
|
Loading…
Reference in a new issue