[gimp] app: Add missing gimp_dock_get_id() implementation



commit c84d26667b2aea8f72957b7734efdd7ae06ac866
Author: Martin Nordholts <martinn src gnome org>
Date:   Wed Apr 20 21:46:17 2011 +0200

    app: Add missing gimp_dock_get_id() implementation

 app/widgets/gimpdock.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpdock.c b/app/widgets/gimpdock.c
index 8ae9909..9fd3f72 100644
--- a/app/widgets/gimpdock.c
+++ b/app/widgets/gimpdock.c
@@ -620,6 +620,14 @@ gimp_dock_get_vbox (GimpDock *dock)
   return dock->p->paned_vbox;
 }
 
+gint
+gimp_dock_get_id (GimpDock *dock)
+{
+  g_return_val_if_fail (GIMP_IS_DOCK (dock), 0);
+
+  return dock->p->ID;
+}
+
 void
 gimp_dock_add (GimpDock     *dock,
                GimpDockable *dockable,



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