[gimp] app: Add gimp_dock_set_id()
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: Add gimp_dock_set_id()
- Date: Thu, 21 Apr 2011 18:12:45 +0000 (UTC)
commit 4988a972572a90f719984b91870e560e9cb5120c
Author: Martin Nordholts <martinn src gnome org>
Date: Thu Apr 21 19:56:42 2011 +0200
app: Add gimp_dock_set_id()
app/widgets/gimpdock.c | 9 +++++++++
app/widgets/gimpdock.h | 2 ++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpdock.c b/app/widgets/gimpdock.c
index 9fd3f72..8539190 100644
--- a/app/widgets/gimpdock.c
+++ b/app/widgets/gimpdock.c
@@ -629,6 +629,15 @@ gimp_dock_get_id (GimpDock *dock)
}
void
+gimp_dock_set_id (GimpDock *dock,
+ gint ID)
+{
+ g_return_if_fail (GIMP_IS_DOCK (dock));
+
+ dock->p->ID = ID;
+}
+
+void
gimp_dock_add (GimpDock *dock,
GimpDockable *dockable,
gint section,
diff --git a/app/widgets/gimpdock.h b/app/widgets/gimpdock.h
index e6309df..47a2546 100644
--- a/app/widgets/gimpdock.h
+++ b/app/widgets/gimpdock.h
@@ -96,6 +96,8 @@ gint gimp_dock_get_n_dockables (GimpDock *dock);
GtkWidget * gimp_dock_get_main_vbox (GimpDock *dock);
GtkWidget * gimp_dock_get_vbox (GimpDock *dock);
gint gimp_dock_get_id (GimpDock *dock);
+void gimp_dock_set_id (GimpDock *dock,
+ gint ID);
void gimp_dock_add (GimpDock *dock,
GimpDockable *dockable,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]