Commit e0d1c871 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

app/gui/dialogs-constructors.c removed debugging g_print().

2001-07-25  Michael Natterer  <mitch@gimp.org>

	* app/gui/dialogs-constructors.c
	* app/widgets/gimpdockable.c: removed debugging g_print().

	* app/widgets/gimpdock.c: ditto, fixed a crash caused by some
	intermediate porting hack.
parent 06b16890
2001-07-25 Michael Natterer <mitch@gimp.org>
* app/gui/dialogs-constructors.c
* app/widgets/gimpdockable.c: removed debugging g_print().
* app/widgets/gimpdock.c: ditto, fixed a crash caused by some
intermediate porting hack.
2001-07-24 Michael Natterer <mitch@gimp.org>
Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
......
......@@ -974,8 +974,6 @@ dialogs_set_editor_context_func (GimpDockable *dockable,
editor = (GimpContainerEditor *) g_object_get_data (G_OBJECT (dockable),
"gimp-dialogs-view");
g_print ("dialogs_set_editor_context_func()\n");
if (editor)
gimp_container_view_set_context (editor->view, context);
}
......
......@@ -974,8 +974,6 @@ dialogs_set_editor_context_func (GimpDockable *dockable,
editor = (GimpContainerEditor *) g_object_get_data (G_OBJECT (dockable),
"gimp-dialogs-view");
g_print ("dialogs_set_editor_context_func()\n");
if (editor)
gimp_container_view_set_context (editor->view, context);
}
......
......@@ -150,8 +150,6 @@ gimp_dock_destroy (GtkObject *object)
dock = GIMP_DOCK (object);
g_print ("gimp_dock_destroy()\n");
while (dock->dockbooks)
gimp_dock_remove_book (dock, GIMP_DOCKBOOK (dock->dockbooks->data));
......@@ -263,14 +261,6 @@ gimp_dock_add_book (GimpDock *dock,
gtk_widget_show (separator);
}
gboolean
gimp_dock_idle_destroy (gpointer data)
{
gtk_widget_destroy (GTK_WIDGET (data));
return FALSE;
}
void
gimp_dock_remove_book (GimpDock *dock,
GimpDockbook *dockbook)
......@@ -314,7 +304,7 @@ gimp_dock_remove_book (GimpDock *dock,
if (length == 1)
{
g_idle_add (gimp_dock_idle_destroy, dock);
gtk_widget_destroy (GTK_WIDGET (dock));
}
}
......
......@@ -95,8 +95,6 @@ gimp_dockable_destroy (GtkObject *object)
dockable = GIMP_DOCKABLE (object);
g_print ("gimp_dockable_destroy()\n");
if (dockable->context)
gimp_dockable_set_context (dockable, NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment