[gimp/gimp-2-6] app: fix compilation



commit 2d08956cebd37457b6f230c0617f654e640d868d
Author: Sven Neumann <sven gimp org>
Date:   Wed Sep 23 21:21:07 2009 +0200

    app: fix compilation
    
    The fix for bug #594998 introduced a reference to gimp_dock_get_context().
    This function does not exist in the gimp-2-6 branch.

 app/widgets/gimpimagedock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpimagedock.c b/app/widgets/gimpimagedock.c
index aafb87d..323ab20 100644
--- a/app/widgets/gimpimagedock.c
+++ b/app/widgets/gimpimagedock.c
@@ -118,7 +118,7 @@ gimp_image_dock_constructor (GType                  type,
   g_signal_connect_object (GIMP_DOCK (dock)->context, "display-changed",
                            G_CALLBACK (gimp_image_dock_display_changed),
                            dock, 0);
-  g_signal_connect_object (gimp_dock_get_context (GIMP_DOCK (dock)), "image-changed",
+  g_signal_connect_object (GIMP_DOCK (dock)->context, "image-changed",
                            G_CALLBACK (gimp_image_dock_image_changed),
                            dock, 0);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]