[gdl] Remove trailing spaces



commit edfb0ddb50556a1f5db5871c995bdb292d9e9946
Author: SÃbastien Granjoux <seb sfo free fr>
Date:   Sun Nov 18 16:52:37 2012 +0100

    Remove trailing spaces

 gdl/gdl-deprecated.c       |    2 +-
 gdl/gdl-dock-bar.c         |    6 +-
 gdl/gdl-dock-bar.h         |    2 +-
 gdl/gdl-dock-item-grip.c   |    8 +-
 gdl/gdl-dock-item-grip.h   |    4 +-
 gdl/gdl-dock-item.c        |   40 ++++++------
 gdl/gdl-dock-item.h        |    4 +-
 gdl/gdl-dock-layout.c      |   14 ++--
 gdl/gdl-dock-layout.h      |    4 +-
 gdl/gdl-dock-master.c      |    8 +-
 gdl/gdl-dock-notebook.c    |   14 ++--
 gdl/gdl-dock-notebook.h    |    2 +-
 gdl/gdl-dock-object.c      |   30 +++++-----
 gdl/gdl-dock-object.h      |   10 ++--
 gdl/gdl-dock-paned.h       |    4 +-
 gdl/gdl-dock-placeholder.c |  144 ++++++++++++++++++++++----------------------
 gdl/gdl-dock-placeholder.h |    2 +-
 gdl/gdl-dock.c             |   16 +++---
 gdl/gdl-switcher.c         |    4 +-
 gdl/gdl-switcher.h         |    2 +-
 gdl/gdl.h                  |    2 +-
 gdl/test-combo-button.c    |   12 ++--
 22 files changed, 167 insertions(+), 167 deletions(-)
---
diff --git a/gdl/gdl-deprecated.c b/gdl/gdl-deprecated.c
index 14bc18e..d21eeb0 100644
--- a/gdl/gdl-deprecated.c
+++ b/gdl/gdl-deprecated.c
@@ -131,7 +131,7 @@ gdl_dock_item_set_default_position (GdlDockItem   *item,
  *
  * Attach the @layout to the @master and delete the reference to
  * the master that the layout attached previously.
- * 
+ *
  * Deprecated 3.6: Use gdl_dock_layout_set_master() instead.
  */
 void
diff --git a/gdl/gdl-dock-bar.c b/gdl/gdl-dock-bar.c
index 4dec56e..d0a1425 100644
--- a/gdl/gdl-dock-bar.c
+++ b/gdl/gdl-dock-bar.c
@@ -39,9 +39,9 @@
  * @stability: Unstable
  * @see_also: #GdlDockMaster
  *
- * This docking bar is a widget containing a button for each iconified 
+ * This docking bar is a widget containing a button for each iconified
  * #GdlDockItem widget. The widget can be re-opened by clicking on it.
- * 
+ *
  * A dock bar is associated with one #GdlDockMaster and will get all iconified
  * widgets of this master. This can includes widgets from several #GdlDock
  * objects.
@@ -430,7 +430,7 @@ gdl_dock_bar_set_master (GdlDockBar    *dockbar,
             g_signal_connect (dockbar->priv->master, "layout-changed",
                               (GCallback) gdl_dock_bar_layout_changed_cb,
                               dockbar);
-        
+
     } else {
         dockbar->priv->master = NULL;
     }
diff --git a/gdl/gdl-dock-bar.h b/gdl/gdl-dock-bar.h
index 8cc5b59..d01fc17 100644
--- a/gdl/gdl-dock-bar.h
+++ b/gdl/gdl-dock-bar.h
@@ -63,7 +63,7 @@ struct _GdlDockBar {
     GtkBox parent;
 
     /*< private >*/
-#ifndef GDL_DISABLE_DEPRECATED    
+#ifndef GDL_DISABLE_DEPRECATED
     GdlDock *deprecated_dock;
 #endif
     GdlDockBarPrivate *priv;
diff --git a/gdl/gdl-dock-item-grip.c b/gdl/gdl-dock-item-grip.c
index cea4f66..01a7760 100644
--- a/gdl/gdl-dock-item-grip.c
+++ b/gdl/gdl-dock-item-grip.c
@@ -62,7 +62,7 @@ enum {
 
 struct _GdlDockItemGripPrivate {
     GdlDockItem *item;
-    
+
     GdkWindow *title_window;
 
     GtkWidget   *label;
@@ -829,8 +829,8 @@ gdl_dock_item_grip_show_handle (GdlDockItemGrip *grip)
  * @in_drag: %TRUE if a drag operation is started
  *
  * Change the cursor when a drag operation is started.
- * 
- * Since: 3.6 
+ *
+ * Since: 3.6
  **/
 void
 gdl_dock_item_grip_set_cursor (GdlDockItemGrip *grip,
@@ -838,7 +838,7 @@ gdl_dock_item_grip_set_cursor (GdlDockItemGrip *grip,
 {
     /* We check the window since if the item could have been redocked and have
      * been unrealized, maybe it's not realized again yet */
-    
+
     if (grip->priv->title_window) {
         GdkCursor *cursor;
 
diff --git a/gdl/gdl-dock-item-grip.h b/gdl/gdl-dock-item-grip.h
index 62d7475..ca66353 100644
--- a/gdl/gdl-dock-item-grip.h
+++ b/gdl/gdl-dock-item-grip.h
@@ -8,7 +8,7 @@
  *
  * Copyright (C) 1998 Ettore Perazzoli
  * Copyright (C) 1998 Elliot Lee
- * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald 
+ * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
  * All rights reserved.
  *
  * This library is free software; you can redistribute it and/or
@@ -53,7 +53,7 @@ typedef struct _GdlDockItemGripPrivate GdlDockItemGripPrivate;
 
 struct _GdlDockItemGrip {
     GtkContainer parent;
-    
+
     GdlDockItemGripPrivate *priv;
 };
 
diff --git a/gdl/gdl-dock-item.c b/gdl/gdl-dock-item.c
index b2c44cb..aeecf85 100644
--- a/gdl/gdl-dock-item.c
+++ b/gdl/gdl-dock-item.c
@@ -202,9 +202,9 @@ struct _GdlDockItemPrivate {
     guint                resize : 1;
     guint                in_predrag : 1;
     guint                in_drag : 1;
-    
+
     gint                 dragoff_x, dragoff_y;
-    
+
     GtkWidget *menu;
 
     gboolean   grip_shown;
@@ -224,7 +224,7 @@ struct _GdlDockItemPrivate {
 
 struct _GdlDockItemClassPrivate {
     gboolean        has_grip;
-    
+
     GtkCssProvider *css;
 };
 
@@ -327,7 +327,7 @@ gdl_dock_item_class_init (GdlDockItemClass *klass)
     GtkBindingSet      *binding_set;
 
     gdl_dock_item_parent_class = g_type_class_peek_parent (klass);
-    
+
     object_class = G_OBJECT_CLASS (klass);
     widget_class = GTK_WIDGET_CLASS (klass);
     container_class = GTK_CONTAINER_CLASS (klass);
@@ -469,7 +469,7 @@ gdl_dock_item_class_init (GdlDockItemClass *klass)
                               G_PARAM_READWRITE |
                               GDL_DOCK_PARAM_AFTER |
                               GDL_DOCK_PARAM_EXPORT));
-    
+
     /**
      * GdlDockItem::dock-drag-begin:
      * @item: The dock item which is being dragged.
@@ -623,12 +623,12 @@ gdl_dock_item_init (GdlDockItem *item)
     item->priv->behavior = GDL_DOCK_ITEM_BEH_NORMAL;
 
     item->priv->iconified = FALSE;
-    
+
     item->priv->resize = TRUE;
 
     item->priv->dragoff_x = item->priv->dragoff_y = 0;
     item->priv->in_predrag = item->priv->in_drag = FALSE;
-   
+
     item->priv->menu = NULL;
 
     item->priv->preferred_width = item->priv->preferred_height = -1;
@@ -2091,7 +2091,7 @@ gdl_dock_item_get_orientation (GdlDockItem *item)
  * @item: The dock item which will get it's behavior set.
  * @behavior: Behavior flags to turn on
  * @clear: Whether to clear state before turning on @flags
- * 
+ *
  * This function sets the behavior of the dock item.
  *
  * Since: 3.6
@@ -2120,7 +2120,7 @@ gdl_dock_item_set_behavior_flags (GdlDockItem *item,
  * gdl_dock_item_unset_behavior_flags:
  * @item: The dock item which will get it's behavior set.
  * @behavior: Behavior flags to turn off
- * 
+ *
  * This function sets the behavior of the dock item.
  *
  * Since: 3.6
@@ -2168,7 +2168,7 @@ gdl_dock_item_get_behavior_flags (GdlDockItem *item)
                     GDL_DOCK_ITEM_BEH_CANT_DOCK_LEFT |
                     GDL_DOCK_ITEM_BEH_CANT_DOCK_RIGHT |
                     GDL_DOCK_ITEM_BEH_CANT_DOCK_CENTER;
-    
+
     return behavior;
 }
 
@@ -2388,10 +2388,10 @@ gdl_dock_item_show_item (GdlDockItem *item)
     if (gtk_widget_get_parent (GTK_WIDGET (item)) == NULL) {
         if (gdl_dock_object_is_bound (GDL_DOCK_OBJECT (item))) {
             GdlDockObject *toplevel;
-        
+
             toplevel = gdl_dock_object_get_controller (GDL_DOCK_OBJECT (item));
             if (toplevel == GDL_DOCK_OBJECT (item)) return;
-        
+
             if (item->priv->behavior & GDL_DOCK_ITEM_BEH_NEVER_FLOATING) {
                 g_warning("Object %s has no default position and flag GDL_DOCK_ITEM_BEH_NEVER_FLOATING is set.\n",
                           gdl_dock_object_get_name (GDL_DOCK_OBJECT (item)));
@@ -2469,7 +2469,7 @@ gdl_dock_item_preferred_size (GdlDockItem    *item,
  * @req: A pointer to a #GdkRectangle that will receive the drag position
  *
  * Gets the size and the position of the drag window in pixels.
- * 
+ *
  * Since: 3.6
  */
 void
@@ -2525,12 +2525,12 @@ gdl_dock_item_or_child_has_focus (GdlDockItem *item)
  *
  * Checks whether a given #GdlDockItem is a placeholder created by the
  * #GdlDockLayout object and does not contain a child.
- * 
+ *
  * Returns: %TRUE if the dock item is a placeholder
  *
  * Since: 3.6
  */
-gboolean 
+gboolean
 gdl_dock_item_is_placeholder (GdlDockItem *item)
 {
     return item->priv->child == NULL;
@@ -2542,7 +2542,7 @@ gdl_dock_item_is_placeholder (GdlDockItem *item)
  *
  * Checks whether a given #GdlDockItem is closed. It can be only hidden or
  * detached.
- * 
+ *
  * Returns: %TRUE if the dock item is closed.
  *
  * Since: 3.6
@@ -2560,7 +2560,7 @@ gdl_dock_item_is_closed (GdlDockItem *item)
  * @item: The dock item to be checked
  *
  * Checks whether a given #GdlDockItem is iconified.
- * 
+ *
  * Returns: %TRUE if the dock item is iconified.
  *
  * Since: 3.6
@@ -2569,7 +2569,7 @@ gboolean
 gdl_dock_item_is_iconified (GdlDockItem *item)
 {
     g_return_val_if_fail (GDL_IS_DOCK_ITEM (item), FALSE);
-    
+
     return item->priv->iconified;
 }
 
@@ -2584,7 +2584,7 @@ gdl_dock_item_is_iconified (GdlDockItem *item)
  *
  * If a child is already present, it will be replaced. If @widget is %NULL the
  * child will be removed.
- *    
+ *
  * Since: 3.6
  */
 void
@@ -2632,7 +2632,7 @@ gdl_dock_item_get_child (GdlDockItem *item)
  *
  * Define in the corresponding kind of dock item has a grip. Even if an item
  * has a grip it can be hidden.
- *    
+ *
  * Since: 3.6
  */
 void
diff --git a/gdl/gdl-dock-item.h b/gdl/gdl-dock-item.h
index a5ae07a..09c43d4 100644
--- a/gdl/gdl-dock-item.h
+++ b/gdl/gdl-dock-item.h
@@ -106,7 +106,7 @@ typedef struct _GdlDockItemClassPrivate GdlDockItemClassPrivate;
 
 struct _GdlDockItem {
     GdlDockObject        object;
-    
+
     /* < private> */
     GdlDockItemPrivate  *priv;
 };
@@ -304,7 +304,7 @@ void           gdl_dock_item_set_behavior_flags    (GdlDockItem      *item,
 void           gdl_dock_item_unset_behavior_flags  (GdlDockItem      *item,
                                                     GdlDockItemBehavior behavior);
 GdlDockItemBehavior gdl_dock_item_get_behavior_flags (GdlDockItem      *item);
-   
+
 GtkWidget     *gdl_dock_item_get_tablabel          (GdlDockItem      *item);
 void           gdl_dock_item_set_tablabel          (GdlDockItem      *item,
                                                     GtkWidget        *tablabel);
diff --git a/gdl/gdl-dock-layout.c b/gdl/gdl-dock-layout.c
index 346e3de..48f66e7 100644
--- a/gdl/gdl-dock-layout.c
+++ b/gdl/gdl-dock-layout.c
@@ -78,7 +78,7 @@ enum {
 struct _GdlDockLayoutPrivate {
     gboolean              dirty;
     GdlDockMaster        *master;
-    
+
     xmlDocPtr         doc;
 
     glong             layout_changed_id;
@@ -155,7 +155,7 @@ gdl_dock_layout_init (GdlDockLayout *layout)
 #ifndef GDL_DISABLE_DEPRECATED
     layout->deprecated_master = NULL;
     layout->deprecated_dirty = FALSE;
-#endif    
+#endif
 }
 
 static void
@@ -289,7 +289,7 @@ gdl_dock_layout_setup_object (GdlDockMaster *master,
 
     object_name = xmlGetProp (node, BAD_CAST GDL_DOCK_NAME_PROPERTY);
     if (object_name && strlen ((char*)object_name) > 0) {
-        /* the object can be already be bound to the master or a 
+        /* the object can be already be bound to the master or a
          * placeholder object is created */
         object = gdl_dock_master_get_object (master, (char*)object_name);
 
@@ -388,7 +388,7 @@ gdl_dock_layout_setup_object (GdlDockMaster *master,
     /* finally unref object class */
     g_type_class_unref (object_class);
 
-        
+
     return object;
 }
 
@@ -420,7 +420,7 @@ gdl_dock_layout_recursive_build (GdlDockMaster *master,
                                (GtkCallback) gdl_dock_object_detach,
                                GINT_TO_POINTER (TRUE));
             }
-            
+
             /* add the object to the parent */
             if (parent) {
                 if (gdl_dock_object_is_compound (parent)) {
@@ -430,7 +430,7 @@ gdl_dock_layout_recursive_build (GdlDockMaster *master,
 
             /* build children */
             gdl_dock_layout_recursive_build (master, node, object);
-            
+
             /* apply "after" parameters */
             for (i = 0; i < n_after_params; i++) {
                 g_object_set_property (G_OBJECT (object),
@@ -625,7 +625,7 @@ gdl_dock_layout_set_master (GdlDockLayout *layout,
             g_signal_connect (layout->priv->master, "layout-changed",
                               (GCallback) gdl_dock_layout_layout_changed_cb,
                               layout);
-        
+
     } else {
         layout->priv->master = NULL;
     }
diff --git a/gdl/gdl-dock-layout.h b/gdl/gdl-dock-layout.h
index 93e32bd..6888fa4 100644
--- a/gdl/gdl-dock-layout.h
+++ b/gdl/gdl-dock-layout.h
@@ -52,10 +52,10 @@ struct _GdlDockLayout {
     GObject               g_object;
 
     /*< private >*/
-#ifndef GDL_DISABLE_DEPRECATED    
+#ifndef GDL_DISABLE_DEPRECATED
     gboolean              deprecated_dirty;
     GdlDockMaster        *deprecated_master;
-#endif    
+#endif
     GdlDockLayoutPrivate *priv;
 };
 
diff --git a/gdl/gdl-dock-master.c b/gdl/gdl-dock-master.c
index 55912f8..77b646e 100644
--- a/gdl/gdl-dock-master.c
+++ b/gdl/gdl-dock-master.c
@@ -47,8 +47,8 @@
  * drags items from one place to another, they're all kept in a user-invisible
  * and automatic object called the master. To participate in docking operations
  * every #GdlDockObject must have the same master, the binding to the master is
- * done automatically. 
- * 
+ * done automatically.
+ *
  * The master also keeps track of the manual items,
  * mostly those created with gdl_dock_*_new functions which are in the dock.
  * This is so the user doesn't need to keep track of them, but can perform
@@ -59,7 +59,7 @@
  * widget containing both widgets is created and replace it.
  * Such widgets are hidden automatically when they have less than two
  * children.
- * 
+ *
  * One of the top level dock item of the master is considered as the controller.
  * This controller is an user visible representation of the master. A floating
  * dock widget will use a dock object having the same properties than this
@@ -1071,7 +1071,7 @@ gdl_dock_master_set_controller (GdlDockMaster *master,
  * Return an unique translated dock name.
  *
  * Returns: (transfer full): a new translated name. The string has to be freed
- * with g_free().    
+ * with g_free().
  *
  * Since: 3.6
  */
diff --git a/gdl/gdl-dock-notebook.c b/gdl/gdl-dock-notebook.c
index d4fa256..a5161dd 100644
--- a/gdl/gdl-dock-notebook.c
+++ b/gdl/gdl-dock-notebook.c
@@ -38,9 +38,9 @@
  * A #GdlDockNotebook is a compound dock widget. It can dock
  * an unlimited number of widget displaying them in a notebook. This dock
  * widget is normally created automatically when a child is docked in
- * the center of another one. 
+ * the center of another one.
  * A #GdlDockNotebook cannot contain other compound widgets, like a #GdlDockPaned.
- * 
+ *
  * A #GdlDockNotebook derives from #GdlDockItem and contains a #GdlSwitcher
  * used to display all children.
  */
@@ -160,8 +160,8 @@ gdl_dock_notebook_class_init (GdlDockNotebookClass *klass)
                           G_PARAM_READWRITE |
                           GDL_DOCK_PARAM_EXPORT | GDL_DOCK_PARAM_AFTER));
 
-    g_type_class_add_private (object_class, sizeof (GdlDockNotebookPrivate));    
-    
+    g_type_class_add_private (object_class, sizeof (GdlDockNotebookPrivate));
+
     /* set the style */
     klass->priv = G_TYPE_CLASS_GET_PRIVATE (klass, GDL_TYPE_DOCK_NOTEBOOK, GdlDockNotebookClassPrivate);
 
@@ -195,7 +195,7 @@ gdl_dock_notebook_init (GdlDockNotebook *notebook)
 {
     GdlDockItem *item = GDL_DOCK_ITEM (notebook);
     GtkWidget *child;
-    
+
     notebook->priv = G_TYPE_INSTANCE_GET_PRIVATE (notebook,
                                                   GDL_TYPE_DOCK_NOTEBOOK,
                                                   GdlDockNotebookPrivate);
@@ -203,7 +203,7 @@ gdl_dock_notebook_init (GdlDockNotebook *notebook)
 
     /* create the container notebook */
     child = gdl_switcher_new ();
-    gdl_dock_item_set_child (item, child);    
+    gdl_dock_item_set_child (item, child);
     gtk_notebook_set_tab_pos (GTK_NOTEBOOK (child), GTK_POS_BOTTOM);
     g_signal_connect (child, "switch-page",
                       (GCallback) gdl_dock_notebook_switch_page_cb, (gpointer) item);
@@ -441,7 +441,7 @@ gdl_dock_notebook_set_orientation (GdlDockItem    *item,
                                    GtkOrientation  orientation)
 {
     GtkWidget *child = gdl_dock_item_get_child (item);
-        
+
     if (child && GTK_IS_NOTEBOOK (child)) {
         if (orientation == GTK_ORIENTATION_HORIZONTAL)
             gtk_notebook_set_tab_pos (GTK_NOTEBOOK (child), GTK_POS_TOP);
diff --git a/gdl/gdl-dock-notebook.h b/gdl/gdl-dock-notebook.h
index 33d00a8..4af6806 100644
--- a/gdl/gdl-dock-notebook.h
+++ b/gdl/gdl-dock-notebook.h
@@ -54,7 +54,7 @@ struct _GdlDockNotebookClass {
 
 
 /* public interface */
- 
+
 GtkWidget     *gdl_dock_notebook_new               (void);
 
 GType          gdl_dock_notebook_get_type          (void);
diff --git a/gdl/gdl-dock-object.c b/gdl/gdl-dock-object.c
index c0fabd3..b4ded10 100644
--- a/gdl/gdl-dock-object.c
+++ b/gdl/gdl-dock-object.c
@@ -183,7 +183,7 @@ gdl_dock_object_class_init (GdlDockObjectClass *klass)
     GtkContainerClass *container_class;
 
     gdl_dock_object_parent_class = g_type_class_peek_parent (klass);
-    
+
     object_class = G_OBJECT_CLASS (klass);
     widget_class = GTK_WIDGET_CLASS (klass);
     container_class = GTK_CONTAINER_CLASS (klass);
@@ -320,7 +320,7 @@ gdl_dock_object_init (GdlDockObject *object)
     object->priv = G_TYPE_INSTANCE_GET_PRIVATE (object,
                                                 GDL_TYPE_DOCK_OBJECT,
                                                 GdlDockObjectPrivate);
-    
+
     object->priv->automatic = TRUE;
     object->priv->freeze_count = 0;
 #ifndef GDL_DISABLE_DEPRECATED
@@ -339,16 +339,16 @@ gdl_dock_object_set_property  (GObject      *g_object,
 
     switch (prop_id) {
     case PROP_NAME:
-        gdl_dock_object_set_name (object, g_value_get_string (value));   
+        gdl_dock_object_set_name (object, g_value_get_string (value));
         break;
     case PROP_LONG_NAME:
-        gdl_dock_object_set_long_name (object, g_value_get_string (value));   
+        gdl_dock_object_set_long_name (object, g_value_get_string (value));
         break;
     case PROP_STOCK_ID:
-        gdl_dock_object_set_stock_id (object, g_value_get_string (value));   
+        gdl_dock_object_set_stock_id (object, g_value_get_string (value));
         break;
     case PROP_PIXBUF_ICON:
-        gdl_dock_object_set_pixbuf (object,  g_value_get_pointer (value));   
+        gdl_dock_object_set_pixbuf (object,  g_value_get_pointer (value));
         break;
     case PROP_MASTER:
         if (g_value_get_object (value))
@@ -861,7 +861,7 @@ gdl_dock_object_dock (GdlDockObject    *object,
 
     g_object_unref (requestor);
     gdl_dock_object_thaw (object);
-	
+
     if (gtk_widget_get_visible (GTK_WIDGET (requestor))) {
         requestor->priv->attached = TRUE;
 #ifndef GDL_DISABLE_DEPRECATED
@@ -901,7 +901,7 @@ gdl_dock_object_bind (GdlDockObject *object,
     object->priv->master = master;
 #ifndef GDL_DISABLE_DEPRECATED
     object->deprecated_master = master;
-#endif    
+#endif
     g_object_add_weak_pointer (master, (gpointer *) &object->priv->master);
 
     g_object_notify (G_OBJECT (object), "master");
@@ -929,7 +929,7 @@ gdl_dock_object_unbind (GdlDockObject *object)
         object->priv->master = NULL;
 #ifndef GDL_DISABLE_DEPRECATED
         object->deprecated_master = NULL;
-#endif    
+#endif
         gdl_dock_master_remove (GDL_DOCK_MASTER (master), object);
         g_object_notify (G_OBJECT (object), "master");
     }
@@ -1100,7 +1100,7 @@ gdl_dock_object_child_placement (GdlDockObject    *object,
  *
  * Checks whether a given #GdlDockObject is closed. It can be only hidden and
  * still in the widget hierarchy or detached.
-  * 
+  *
  * Returns: %TRUE if the dock object is closed.
  *
  * Since: 3.6
@@ -1445,9 +1445,9 @@ gdl_dock_object_register_init (void)
 {
 #ifdef GDL_DISABLE_DEPRECATED
     const size_t n_default = 4;
-#else    
+#else
     const size_t n_default = 5;
-#endif    
+#endif
     guint i = 0;
     struct DockRegisterItem default_items[n_default];
 
@@ -1466,10 +1466,10 @@ gdl_dock_object_register_init (void)
     default_items[2].type = (gpointer) GDL_TYPE_DOCK_PANED;
     default_items[3].nick = "notebook";
     default_items[3].type = (gpointer) GDL_TYPE_DOCK_NOTEBOOK;
-#ifndef GDL_DISABLE_DEPRECATED    
+#ifndef GDL_DISABLE_DEPRECATED
     default_items[4].nick = "placeholder";
     default_items[4].type = (gpointer) GDL_TYPE_DOCK_PLACEHOLDER;
-#endif    
+#endif
 
     for (i = 0; i < n_default; i++)
         g_array_append_val (dock_register, default_items[i]);
@@ -1585,7 +1585,7 @@ gdl_dock_object_set_type_for_nick (const gchar *nick,
  * @is_compound: %TRUE is the dock object contains other objects
  *
  * Define in the corresponding kind of dock object can contains children.
- *    
+ *
  * Since: 3.6
  */
 void
diff --git a/gdl/gdl-dock-object.h b/gdl/gdl-dock-object.h
index 93c6ed9..8ed0bba 100644
--- a/gdl/gdl-dock-object.h
+++ b/gdl/gdl-dock-object.h
@@ -84,7 +84,7 @@ typedef enum {
  *
  * Minimum shift count to be used for user defined flags, to be stored in
  * #GdlDockObject.flags.
- * 
+ *
  * Deprecated: 3.6: Use a private flag instead
  */
 #define GDL_DOCK_OBJECT_FLAGS_SHIFT 8
@@ -151,7 +151,7 @@ struct _GdlDockObject {
 struct _GdlDockObjectClass {
     GtkContainerClass parent_class;
 
-    GdlDockObjectClassPrivate *priv;    
+    GdlDockObjectClassPrivate *priv;
 
     void     (* detach)          (GdlDockObject    *object,
                                   gboolean          recursive);
@@ -214,7 +214,7 @@ struct _GdlDockObjectClass {
  *
  * Evaluates to %TRUE if the object has a parent.
  *
- * Deprecated: 3.6: Use 
+ * Deprecated: 3.6: Use
  */
 #define GDL_DOCK_OBJECT_ATTACHED(obj) (!gdl_dock_object_is_closed(GDL_DOCK_OBJECT (obj)))
 #endif
@@ -252,7 +252,7 @@ struct _GdlDockObjectClass {
  * @flag: One or more #GdlDockObjectFlags
  *
  * Set one or more flags of a dock object.
- * 
+ *
  * Deprecated: 3.6: This flags are no longer accessible.
  */
 #define GDL_DOCK_OBJECT_SET_FLAGS(obj,flag) \
@@ -267,7 +267,7 @@ struct _GdlDockObjectClass {
  * @flag: One or more #GdlDockObjectFlags
  *
  * Clear one or more flags of a dock object.
- * 
+ *
  * Deprecated: 3.6: This flags are no longer accessible.
  */
 #define GDL_DOCK_OBJECT_UNSET_FLAGS(obj,flag) \
diff --git a/gdl/gdl-dock-paned.h b/gdl/gdl-dock-paned.h
index c1b8f87..799d785 100644
--- a/gdl/gdl-dock-paned.h
+++ b/gdl/gdl-dock-paned.h
@@ -39,7 +39,7 @@ G_BEGIN_DECLS
 /* data types & structures */
 typedef struct _GdlDockPaned        GdlDockPaned;
 typedef struct _GdlDockPanedClass   GdlDockPanedClass;
-typedef struct _GdlDockPanedPrivate GdlDockPanedPrivate;    
+typedef struct _GdlDockPanedPrivate GdlDockPanedPrivate;
 
 struct _GdlDockPaned {
     GdlDockItem  dock_item;
@@ -53,7 +53,7 @@ struct _GdlDockPanedClass {
 
 
 /* public interface */
- 
+
 GType      gdl_dock_paned_get_type        (void);
 
 GtkWidget *gdl_dock_paned_new             (GtkOrientation orientation);
diff --git a/gdl/gdl-dock-placeholder.c b/gdl/gdl-dock-placeholder.c
index 7d47f62..37a9090 100644
--- a/gdl/gdl-dock-placeholder.c
+++ b/gdl/gdl-dock-placeholder.c
@@ -1,4 +1,4 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * gdl-dock-placeholder.c - Placeholders for docking items
  *
@@ -46,7 +46,7 @@
  * A dock placeholder is a widget allowing to keep track of a docking place.
  * Unfortunately, all the details of the initial goal have been forgotten and
  * the code has still some issues.
- * 
+ *
  * In GDL 3.6, this part has been deprecated. Placeholder widgets are not
  * used anymore. Instead, closed widgets are hidden but kept in the widget
  * hierarchy.
@@ -138,13 +138,13 @@ struct _GdlDockPlaceholderPrivate {
 
 G_DEFINE_TYPE (GdlDockPlaceholder, gdl_dock_placeholder, GDL_TYPE_DOCK_OBJECT);
 
-static void 
+static void
 gdl_dock_placeholder_class_init (GdlDockPlaceholderClass *klass)
 {
     GObjectClass       *object_class;
     GtkContainerClass  *container_class;
     GdlDockObjectClass *dock_object_class;
-    
+
     object_class = G_OBJECT_CLASS (klass);
     container_class = GTK_CONTAINER_CLASS (klass);
     dock_object_class = GDL_DOCK_OBJECT_CLASS (klass);
@@ -175,7 +175,7 @@ gdl_dock_placeholder_class_init (GdlDockPlaceholderClass *klass)
                             _("The dock object this placeholder is attached to"),
                             GDL_TYPE_DOCK_OBJECT,
                             G_PARAM_READWRITE));
-    
+
     /* this will return the top of the placement stack */
     g_object_class_install_property (
         object_class, PROP_NEXT_PLACEMENT,
@@ -186,7 +186,7 @@ gdl_dock_placeholder_class_init (GdlDockPlaceholderClass *klass)
                            	GDL_DOCK_CENTER,
                            	G_PARAM_READWRITE |
                            	GDL_DOCK_PARAM_EXPORT | GDL_DOCK_PARAM_AFTER));
-    
+
     g_object_class_install_property (
         object_class, PROP_WIDTH,
         g_param_spec_int ("width", _("Width"),
@@ -194,7 +194,7 @@ gdl_dock_placeholder_class_init (GdlDockPlaceholderClass *klass)
                           	-1, G_MAXINT, -1,
                           	G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
                           	GDL_DOCK_PARAM_EXPORT));
-    
+
     g_object_class_install_property (
         object_class, PROP_HEIGHT,
         g_param_spec_int ("height", _("Height"),
@@ -227,7 +227,7 @@ gdl_dock_placeholder_class_init (GdlDockPlaceholderClass *klass)
     g_type_class_add_private (object_class, sizeof (GdlDockPlaceholderPrivate));
 }
 
-static void 
+static void
 gdl_dock_placeholder_init (GdlDockPlaceholder *ph)
 {
     ph->priv = G_TYPE_INSTANCE_GET_PRIVATE (ph,
@@ -238,7 +238,7 @@ gdl_dock_placeholder_init (GdlDockPlaceholder *ph)
     gtk_widget_set_can_focus (GTK_WIDGET (ph), FALSE);
 }
 
-static void 
+static void
 gdl_dock_placeholder_set_property (GObject      *g_object,
                                    guint         prop_id,
                                    const GValue *value,
@@ -282,7 +282,7 @@ gdl_dock_placeholder_set_property (GObject      *g_object,
     }
 }
 
-static void 
+static void
 gdl_dock_placeholder_get_property (GObject    *g_object,
                                    guint       prop_id,
                                    GValue     *value,
@@ -341,20 +341,20 @@ gdl_dock_placeholder_dispose (GObject *object)
     G_OBJECT_CLASS (gdl_dock_placeholder_parent_class)->dispose (object);
 }
 
-static void 
+static void
 gdl_dock_placeholder_add (GtkContainer *container,
                           GtkWidget    *widget)
 {
     GdlDockPlaceholder *ph;
     GdlDockPlacement    pos = GDL_DOCK_CENTER;   /* default position */
-    
+
     g_return_if_fail (GDL_IS_DOCK_PLACEHOLDER (container));
     g_return_if_fail (GDL_IS_DOCK_ITEM (widget));
 
     ph = GDL_DOCK_PLACEHOLDER (container);
     if (ph->priv->placement_stack)
         pos = (GdlDockPlacement) ph->priv->placement_stack->data;
-    
+
     gdl_dock_object_dock (GDL_DOCK_OBJECT (ph), GDL_DOCK_OBJECT (widget),
                           pos, NULL);
 }
@@ -367,7 +367,7 @@ gdl_dock_placeholder_detach (GdlDockObject *object,
 
     /* disconnect handlers */
     disconnect_host (ph);
-    
+
     /* free the placement stack */
     g_slist_free (ph->priv->placement_stack);
     ph->priv->placement_stack = NULL;
@@ -375,7 +375,7 @@ gdl_dock_placeholder_detach (GdlDockObject *object,
     GDL_DOCK_OBJECT_UNSET_FLAGS (object, GDL_DOCK_ATTACHED);
 }
 
-static void 
+static void
 gdl_dock_placeholder_reduce (GdlDockObject *object)
 {
     /* placeholders are not reduced */
@@ -388,15 +388,15 @@ find_biggest_dock_item (GtkContainer *container, GtkWidget **biggest_child,
 {
     GList *children, *child;
     GtkAllocation allocation;
-    
+
     children = gtk_container_get_children (GTK_CONTAINER (container));
     child = children;
     while (child) {
         gint area;
         GtkWidget *child_widget;
-        
+
         child_widget = GTK_WIDGET (child->data);
-        
+
         if (gdl_dock_object_is_compound (GDL_DOCK_OBJECT(child_widget))) {
             find_biggest_dock_item (GTK_CONTAINER (child_widget),
                                     biggest_child, biggest_child_area);
@@ -405,7 +405,7 @@ find_biggest_dock_item (GtkContainer *container, GtkWidget **biggest_child,
         }
         gtk_widget_get_allocation (child_widget, &allocation);
         area = allocation.width * allocation.height;
-        
+
         if (area > *biggest_child_area) {
             *biggest_child_area = area;
             *biggest_child = child_widget;
@@ -427,7 +427,7 @@ attempt_to_dock_on_host (GdlDockPlaceholder *ph, GdlDockObject *host,
     gtk_widget_get_allocation (GTK_WIDGET (host), &allocation);
     host_width = allocation.width;
     host_height = allocation.height;
-    
+
     if (placement != GDL_DOCK_CENTER || !GDL_IS_DOCK_PANED (host)) {
         /* we simply act as a proxy for our host */
         gdl_dock_object_dock (host, requestor,
@@ -439,10 +439,10 @@ attempt_to_dock_on_host (GdlDockPlaceholder *ph, GdlDockObject *host,
          */
         GtkWidget *biggest_child = NULL;
         gint biggest_child_area = 0;
-        
+
         find_biggest_dock_item (GTK_CONTAINER (host), &biggest_child,
                                 &biggest_child_area);
-        
+
         if (biggest_child) {
             /* we simply act as a proxy for our host */
             gdl_dock_object_dock (GDL_DOCK_OBJECT (biggest_child), requestor,
@@ -454,9 +454,9 @@ attempt_to_dock_on_host (GdlDockPlaceholder *ph, GdlDockObject *host,
                                   placement, other_data);
         }
     }
-    
+
     parent = gdl_dock_object_get_parent_object (requestor);
-    
+
     /* Restore dock item's dimention */
     switch (placement) {
         case GDL_DOCK_LEFT:
@@ -468,7 +468,7 @@ attempt_to_dock_on_host (GdlDockPlaceholder *ph, GdlDockObject *host,
         case GDL_DOCK_RIGHT:
             if (ph->priv->width > 0) {
                 gint complementary_width = host_width - ph->priv->width;
-                
+
                 if (complementary_width > 0)
                     g_object_set (G_OBJECT (parent), "position",
                                   complementary_width, NULL);
@@ -483,7 +483,7 @@ attempt_to_dock_on_host (GdlDockPlaceholder *ph, GdlDockObject *host,
         case GDL_DOCK_BOTTOM:
             if (ph->priv->height > 0) {
                 gint complementary_height = host_height - ph->priv->height;
-                
+
                 if (complementary_height > 0)
                     g_object_set (G_OBJECT (parent), "position",
                                   complementary_height, NULL);
@@ -495,26 +495,26 @@ attempt_to_dock_on_host (GdlDockPlaceholder *ph, GdlDockObject *host,
     }
 }
 
-static void 
+static void
 gdl_dock_placeholder_dock (GdlDockObject    *object,
                            GdlDockObject    *requestor,
                            GdlDockPlacement  position,
                            GValue           *other_data)
 {
     GdlDockPlaceholder *ph = GDL_DOCK_PLACEHOLDER (object);
-    
+
     if (ph->priv->host) {
         attempt_to_dock_on_host (ph, ph->priv->host, requestor,
                                  position, other_data);
     }
     else {
         GdlDockObject *toplevel;
-        
+
         if (!gdl_dock_object_is_bound (GDL_DOCK_OBJECT (ph))) {
             g_warning ("%s", _("Attempt to dock a dock object to an unbound placeholder"));
             return;
         }
-        
+
         /* dock the item as a floating of the controller */
         toplevel = gdl_dock_object_get_controller (GDL_DOCK_OBJECT (ph));
         gdl_dock_object_dock (toplevel, requestor,
@@ -541,13 +541,13 @@ print_placement_stack (GdlDockPlaceholder *ph)
         g_string_append_printf (message, "%s, ", name);
     }
     g_message ("%s", message->str);
-    
+
     g_string_free (message, TRUE);
     g_type_class_unref (enum_class);
 }
 #endif
 
-static void 
+static void
 gdl_dock_placeholder_present (GdlDockObject *object,
                               GdlDockObject *child)
 {
@@ -555,24 +555,24 @@ gdl_dock_placeholder_present (GdlDockObject *object,
     return;
 }
 
-/* ----- Public interface ----- */ 
-								   
+/* ----- Public interface ----- */
+
 /**
  * gdl_dock_placeholder_new:
  * @name: Unique name for identifying the dock object.
  * @object: Corresponding #GdlDockObject
  * @position: The position to dock a new item in @object
  * @sticky: %TRUE if the placeholder move with the @object
- * 
+ *
  * Creates a new dock placeholder at @object place. This is a kind of marker
  * allowing you to dock new items later at this place. It is not completely
  * working though.
- * 
+ *
  * Returns: The newly created placeholder.
- * 
+ *
  * Deprecated: 3.6:
  */
-GtkWidget * 
+GtkWidget *
 gdl_dock_placeholder_new (const gchar     *name,
                           GdlDockObject    *object,
                           GdlDockPlacement  position,
@@ -587,31 +587,31 @@ gdl_dock_placeholder_new (const gchar     *name,
                                              "host", object,
                                              NULL));
     GDL_DOCK_OBJECT_UNSET_FLAGS (ph, GDL_DOCK_AUTOMATIC);
-    
+
     return GTK_WIDGET (ph);
 }
 
-static void 
+static void
 gdl_dock_placeholder_weak_notify (gpointer data,
                                   GObject *old_object)
 {
     GdlDockPlaceholder *ph;
-    
+
     g_return_if_fail (data != NULL && GDL_IS_DOCK_PLACEHOLDER (data));
 
     ph = GDL_DOCK_PLACEHOLDER (data);
-    
+
 #ifdef PLACEHOLDER_DEBUG
     g_message ("The placeholder just lost its host, ph = %p", ph);
 #endif
-    
+
     /* we shouldn't get here, so perform an emergency detach. instead
        we should have gotten a detach signal from our host */
     ph->priv->host = NULL;
-    
-    /* We didn't get a detach signal from the host. Detach from the 
+
+    /* We didn't get a detach signal from the host. Detach from the
     supposedly dead host (consequently attaching to the controller) */
-    
+
     detach_cb (NULL, TRUE, data);
 #if 0
     /* free the placement stack */
@@ -630,7 +630,7 @@ detach_cb (GdlDockObject *object,
     GdlDockObject      *new_host, *obj;
 
     g_return_if_fail (user_data != NULL && GDL_IS_DOCK_PLACEHOLDER (user_data));
-    
+
     /* we go up in the hierarchy and we store the hinted placement in
      * the placement stack so we can rebuild the docking layout later
      * when we get the host's dock signal.  */
@@ -642,21 +642,21 @@ detach_cb (GdlDockObject *object,
                      "our host %p"), object, ph->priv->host);
         return;
     }
-    
+
     /* skip sticky objects */
     if (ph->priv->sticky)
         return;
-    
+
     if (obj)
         /* go up in the hierarchy */
         new_host = gdl_dock_object_get_parent_object (obj);
     else
         /* Detaching from the dead host */
         new_host = NULL;
-    
+
     while (new_host) {
         GdlDockPlacement pos = GDL_DOCK_NONE;
-        
+
         /* get placement hint from the new host */
         if (gdl_dock_object_child_placement (new_host, obj, &pos)) {
             ph->priv->placement_stack = g_slist_prepend (
@@ -670,7 +670,7 @@ detach_cb (GdlDockObject *object,
         if (!GDL_DOCK_OBJECT_IN_DETACH (new_host))
             /* we found a "stable" dock object */
             break;
-        
+
         obj = new_host;
         new_host = gdl_dock_object_get_parent_object (obj);
     }
@@ -685,7 +685,7 @@ detach_cb (GdlDockObject *object,
         /* the toplevel was detached: we attach ourselves to the
            controller with an initial placement of floating */
         new_host = gdl_dock_object_get_controller (GDL_DOCK_OBJECT (ph));
-        
+
         /*
         ph->priv->placement_stack = g_slist_prepend (
         ph->priv->placement_stack, (gpointer) GDL_DOCK_FLOATING);
@@ -707,7 +707,7 @@ detach_cb (GdlDockObject *object,
  * children and see if any of them matches the placement which is at
  * the top of the stack.  If this is the case, it tries again with the
  * new host.
- * 
+ *
  * Deprecated: 3.6:
  **/
 static void
@@ -722,7 +722,7 @@ do_excursion (GdlDockPlaceholder *ph)
             (GdlDockPlacement) ph->priv->placement_stack->data;
         GList           *children, *l;
         GdlDockObject   *host = ph->priv->host;
-        
+
         children = gtk_container_get_children (GTK_CONTAINER (host));
         for (l = children; l; l = l->next) {
             pos = stack_pos;
@@ -734,7 +734,7 @@ do_excursion (GdlDockPlaceholder *ph)
                 ph->priv->placement_stack =
                     g_slist_remove_link (ph->priv->placement_stack,
                                          ph->priv->placement_stack);
-                
+
                 /* connect to the new host */
                 disconnect_host (ph);
                 connect_host (ph, GDL_DOCK_OBJECT (l->data));
@@ -742,7 +742,7 @@ do_excursion (GdlDockPlaceholder *ph)
                 /* recurse... */
                 if (!GDL_DOCK_OBJECT_IN_REFLOW (l->data))
                     do_excursion (ph);
-                
+
                 break;
             }
         }
@@ -750,7 +750,7 @@ do_excursion (GdlDockPlaceholder *ph)
     }
 }
 
-static void 
+static void
 dock_cb (GdlDockObject    *object,
          GdlDockObject    *requestor,
          GdlDockPlacement  position,
@@ -759,11 +759,11 @@ dock_cb (GdlDockObject    *object,
 {
     GdlDockPlacement    pos = GDL_DOCK_NONE;
     GdlDockPlaceholder *ph;
-    
+
     g_return_if_fail (user_data != NULL && GDL_IS_DOCK_PLACEHOLDER (user_data));
     ph = GDL_DOCK_PLACEHOLDER (user_data);
     g_return_if_fail (ph->priv->host == object);
-    
+
     /* see if the given position is compatible for the stack's top
        element */
     if (!ph->priv->sticky && ph->priv->placement_stack) {
@@ -785,7 +785,7 @@ disconnect_host (GdlDockPlaceholder *ph)
 {
     if (!ph->priv->host)
         return;
-    
+
     if (ph->priv->host_detach_handler)
         g_signal_handler_disconnect (ph->priv->host, ph->priv->host_detach_handler);
     if (ph->priv->host_dock_handler)
@@ -797,7 +797,7 @@ disconnect_host (GdlDockPlaceholder *ph)
     g_object_weak_unref (G_OBJECT (ph->priv->host),
                          gdl_dock_placeholder_weak_notify, ph);
     ph->priv->host = NULL;
-    
+
 #ifdef PLACEHOLDER_DEBUG
     g_message ("Host just disconnected!, ph = %p", ph);
 #endif
@@ -809,7 +809,7 @@ connect_host (GdlDockPlaceholder *ph,
 {
     if (ph->priv->host)
         disconnect_host (ph);
-    
+
     ph->priv->host = new_host;
     g_object_weak_ref (G_OBJECT (ph->priv->host),
                        gdl_dock_placeholder_weak_notify, ph);
@@ -819,13 +819,13 @@ connect_host (GdlDockPlaceholder *ph,
                           "detach",
                           (GCallback) detach_cb,
                           (gpointer) ph);
-    
+
     ph->priv->host_dock_handler =
         g_signal_connect (ph->priv->host,
                           "dock",
                           (GCallback) dock_cb,
                           (gpointer) ph);
-    
+
 #ifdef PLACEHOLDER_DEBUG
     g_message ("Host just connected!, ph = %p", ph);
 #endif
@@ -835,9 +835,9 @@ connect_host (GdlDockPlaceholder *ph,
  * gdl_dock_placeholder_attach:
  * @ph: The #GdlDockPlaceholder object
  * @object: A new #GdlDockObject
- * 
+ *
  * Move the placeholder to the position of @object.
- * 
+ *
  * Deprecated: 3.6:
  */
 void
@@ -847,23 +847,23 @@ gdl_dock_placeholder_attach (GdlDockPlaceholder *ph,
     g_return_if_fail (ph != NULL && GDL_IS_DOCK_PLACEHOLDER (ph));
     g_return_if_fail (ph->priv != NULL);
     g_return_if_fail (object != NULL);
-    
+
     /* object binding */
     if (!gdl_dock_object_is_bound (GDL_DOCK_OBJECT (ph)))
         gdl_dock_object_bind (GDL_DOCK_OBJECT (ph), object->deprecated_master);
 
     g_return_if_fail (GDL_DOCK_OBJECT (ph)->deprecated_master == object->deprecated_master);
-        
+
     gdl_dock_object_freeze (GDL_DOCK_OBJECT (ph));
-    
+
     /* detach from previous host first */
     if (ph->priv->host)
         gdl_dock_object_detach (GDL_DOCK_OBJECT (ph), FALSE);
 
     connect_host (ph, object);
-    
+
     GDL_DOCK_OBJECT_SET_FLAGS (ph, GDL_DOCK_ATTACHED);
-    
+
     gdl_dock_object_thaw (GDL_DOCK_OBJECT (ph));
 }
 
diff --git a/gdl/gdl-dock-placeholder.h b/gdl/gdl-dock-placeholder.h
index 54ae7b9..d51fbc7 100644
--- a/gdl/gdl-dock-placeholder.h
+++ b/gdl/gdl-dock-placeholder.h
@@ -1,4 +1,4 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * gdl-dock-placeholder.h - Placeholders for docking items
  *
diff --git a/gdl/gdl-dock.c b/gdl/gdl-dock.c
index e12c522..c6c3afa 100644
--- a/gdl/gdl-dock.c
+++ b/gdl/gdl-dock.c
@@ -44,9 +44,9 @@
  * @stability: Unstable
  *
  * A #GdlDock is the toplevel widget which in turn hold a tree of #GdlDockItem
- * widgets. 
- * 
- * Several dock widgets can exchange widgets if they share the same master. 
+ * widgets.
+ *
+ * Several dock widgets can exchange widgets if they share the same master.
  */
 
 #ifndef __FUNCTION__
@@ -131,7 +131,7 @@ static void     gdl_dock_present          (GdlDockObject    *object,
 struct _GdlDockPrivate
 {
     GdlDockObject   *root;
-    
+
     /* for floating docks */
     gboolean            floating;
     GtkWidget          *window;
@@ -1303,7 +1303,7 @@ gdl_dock_add_item (GdlDock          *dock,
     GdlDockObject *placeholder;
     GdlDockObject *parent = NULL;
     GdlDockPlacement place;
-    
+
     g_return_if_fail (dock != NULL);
     g_return_if_fail (item != NULL);
 
@@ -1316,12 +1316,12 @@ gdl_dock_add_item (GdlDock          *dock,
             gtk_widget_destroy (GTK_WIDGET (placeholder));
         }
     }
-    
+
     if (parent && gdl_dock_object_child_placement (parent, placeholder, &place))
     {
         gdl_dock_object_freeze (GDL_DOCK_OBJECT (parent));
         gtk_widget_destroy (GTK_WIDGET (placeholder));
-        
+
         gdl_dock_object_dock (GDL_DOCK_OBJECT (parent),
                               GDL_DOCK_OBJECT (item),
                               place, NULL);
@@ -1482,7 +1482,7 @@ GdlDockObject *
 gdl_dock_get_root (GdlDock *dock)
 {
     g_return_val_if_fail (GDL_IS_DOCK (dock), NULL);
-    
+
     return dock->priv->root;
 }
 
diff --git a/gdl/gdl-switcher.c b/gdl/gdl-switcher.c
index 970250e..f5e349b 100644
--- a/gdl/gdl-switcher.c
+++ b/gdl/gdl-switcher.c
@@ -599,7 +599,7 @@ gdl_switcher_get_preferred_width (GtkWidget *widget, gint *minimum, gint *natura
 
         if (gtk_widget_get_visible (button->button_widget)) {
             gint min, nat;
-            
+
             gtk_widget_get_preferred_width(button->button_widget, &min, &nat);
             *minimum = MAX (*minimum, min + 2 * H_PADDING);
             *natural = MAX (*natural, nat + 2 * H_PADDING);
@@ -927,7 +927,7 @@ gdl_switcher_add_button (GdlSwitcher *switcher, const gchar *label,
 
     button_widget = gtk_toggle_button_new ();
     gtk_button_set_relief (GTK_BUTTON(button_widget), GTK_RELIEF_HALF);
-    if (switcher->priv->show && gtk_widget_get_visible (page)) 
+    if (switcher->priv->show && gtk_widget_get_visible (page))
         gtk_widget_show (button_widget);
     g_signal_connect (button_widget, "toggled",
                       G_CALLBACK (button_toggled_callback),
diff --git a/gdl/gdl-switcher.h b/gdl/gdl-switcher.h
index 017216e..07447ae 100644
--- a/gdl/gdl-switcher.h
+++ b/gdl/gdl-switcher.h
@@ -4,7 +4,7 @@
  * Copyright (C) 2003  Ettore Perazzoli
  *               2007  Naba Kumar
  *
-* This library is free software; you can redistribute it and/or
+ * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
  * License as published by the Free Software Foundation; either
  * version 2 of the License, or (at your option) any later version.
diff --git a/gdl/gdl.h b/gdl/gdl.h
index 9ba6459..11ad6d0 100644
--- a/gdl/gdl.h
+++ b/gdl/gdl.h
@@ -1,4 +1,4 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This file is part of the GNOME Devtools Libraries.
  *
diff --git a/gdl/test-combo-button.c b/gdl/test-combo-button.c
index 35ce3ff..c439295 100644
--- a/gdl/test-combo-button.c
+++ b/gdl/test-combo-button.c
@@ -41,7 +41,7 @@ main (int argc, char **argv)
 	gtk_init (&argc, &argv);
 
 	window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
-	g_signal_connect (G_OBJECT (window), "delete_event", 
+	g_signal_connect (G_OBJECT (window), "delete_event",
 			  G_CALLBACK (gtk_main_quit), NULL);
 	gtk_window_set_title (GTK_WINDOW (window), "Combo button test");
 	gtk_window_set_resizable (GTK_WINDOW (window), FALSE);
@@ -51,7 +51,7 @@ main (int argc, char **argv)
 
 	combo = gtk_button_new_from_stock (GTK_STOCK_OPEN);
 	gtk_button_set_relief (GTK_BUTTON (combo), GTK_RELIEF_NONE);
-	gtk_box_pack_start (GTK_BOX (hbox), combo, FALSE, FALSE, 0);	
+	gtk_box_pack_start (GTK_BOX (hbox), combo, FALSE, FALSE, 0);
 
 	menu = gtk_menu_new ();
 	menuitem = gtk_image_menu_item_new_from_stock (GTK_STOCK_OPEN, NULL);
@@ -59,7 +59,7 @@ main (int argc, char **argv)
 	menuitem = gtk_image_menu_item_new_from_stock (GTK_STOCK_SAVE, NULL);
 	gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
 	gtk_widget_show_all (menu);
-	
+
 	combo = gdl_combo_button_new ();
 	gdl_combo_button_set_label (GDL_COMBO_BUTTON (combo), "Run");
 	gdl_combo_button_set_menu (GDL_COMBO_BUTTON (combo), GTK_MENU (menu));
@@ -73,7 +73,7 @@ main (int argc, char **argv)
 
 	combo = gtk_button_new_from_stock (GTK_STOCK_SAVE);
 	gtk_button_set_relief (GTK_BUTTON (combo), GTK_RELIEF_NONE);
-	gtk_box_pack_start (GTK_BOX (hbox), combo, FALSE, FALSE, 0);	
+	gtk_box_pack_start (GTK_BOX (hbox), combo, FALSE, FALSE, 0);
 
 	menu = gtk_menu_new ();
 	menuitem = gtk_image_menu_item_new_from_stock (GTK_STOCK_OPEN, NULL);
@@ -81,7 +81,7 @@ main (int argc, char **argv)
 	menuitem = gtk_image_menu_item_new_from_stock (GTK_STOCK_SAVE, NULL);
 	gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
 	gtk_widget_show_all (menu);
-	
+
 	combo = gdl_combo_button_new ();
 	gdl_combo_button_set_label (GDL_COMBO_BUTTON (combo), "Open");
 	gdl_combo_button_set_menu (GDL_COMBO_BUTTON (combo), GTK_MENU (menu));
@@ -104,7 +104,7 @@ main (int argc, char **argv)
 	gtk_box_pack_start (GTK_BOX (hbox), combo, FALSE, FALSE, 0);
 
 	gtk_widget_show_all (window);
-	
+
 	gtk_main ();
 
 	return 0;



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