[gimp] app: Kill #if-zeroed GimpContext code that doesn't seem to be needed
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] app: Kill #if-zeroed GimpContext code that doesn't seem to be needed
- Date: Tue, 19 Jan 2010 22:37:46 +0000 (UTC)
commit dd8b867852efccc00eda94244ef1f27dc1a145b7
Author: Martin Nordholts <martinn src gnome org>
Date: Tue Jan 19 23:18:30 2010 +0100
app: Kill #if-zeroed GimpContext code that doesn't seem to be needed
app/widgets/gimpdockwindow.c | 27 ---------------------------
1 files changed, 0 insertions(+), 27 deletions(-)
---
diff --git a/app/widgets/gimpdockwindow.c b/app/widgets/gimpdockwindow.c
index a1982cd..f37338e 100644
--- a/app/widgets/gimpdockwindow.c
+++ b/app/widgets/gimpdockwindow.c
@@ -468,33 +468,6 @@ gimp_dock_window_dispose (GObject *object)
G_OBJECT_CLASS (parent_class)->dispose (object);
}
-#if 0
-/* XXX: Do we need this any longer? Doesn't seem like it */
-static void gimp_dock_window_destroy (GtkObject *object);
- GtkObjectClass *gtk_object_class = GTK_OBJECT_CLASS (klass);
- gtk_object_class->destroy = gimp_dock_window_destroy;
-static void
-gimp_dock_window_destroy (GtkObject *object)
-{
- GimpDockWindow *dock = GIMP_DOCK_WINDOW (object);
-
- /* remove the image menu and the auto button manually here because
- * of weird cross-connections with GimpDock's context
- */
- /* FIXME: Fix this when fixing GimpContext management */
- if (gimp_dock_get_main_vbox (GIMP_DOCK (dock)) && dock->p->image_combo)
- {
- GtkWidget *parent = gtk_widget_get_parent (dock->p->image_combo);
-
- if (parent)
- gtk_container_remove (GTK_CONTAINER (gimp_dock_get_main_vbox (GIMP_DOCK (dock))),
- parent);
- }
-
- GTK_OBJECT_CLASS (parent_class)->destroy (object);
-}
-#endif
-
static void
gimp_dock_window_set_property (GObject *object,
guint property_id,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]