app: Add gimp_dock_set_id()

This commit is contained in:
Martin Nordholts 2011-04-21 19:56:42 +02:00
parent c84d26667b
commit 4988a97257
2 changed files with 11 additions and 0 deletions

View File

@ -628,6 +628,15 @@ gimp_dock_get_id (GimpDock *dock)
return dock->p->ID;
}
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,

View File

@ -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,