gimp r27179 - in trunk: . libgimpwidgets



Author: mitch
Date: Wed Oct  8 18:47:13 2008
New Revision: 27179
URL: http://svn.gnome.org/viewvc/gimp?rev=27179&view=rev

Log:
2008-10-08  Michael Natterer  <mitch gimp org>

	* libgimpwidgets/gimpruler.c: cosmetics.



Modified:
   trunk/ChangeLog
   trunk/libgimpwidgets/gimpruler.c

Modified: trunk/libgimpwidgets/gimpruler.c
==============================================================================
--- trunk/libgimpwidgets/gimpruler.c	(original)
+++ trunk/libgimpwidgets/gimpruler.c	Wed Oct  8 18:47:13 2008
@@ -230,11 +230,8 @@
   switch (prop_id)
     {
     case PROP_ORIENTATION:
-      {
-        priv->orientation = g_value_get_enum (value);
-
-        gtk_widget_queue_resize (GTK_WIDGET (ruler));
-      }
+      priv->orientation = g_value_get_enum (value);
+      gtk_widget_queue_resize (GTK_WIDGET (ruler));
       break;
 
     case PROP_UNIT:
@@ -272,10 +269,10 @@
 }
 
 static void
-gimp_ruler_get_property (GObject      *object,
-                         guint         prop_id,
-                         GValue       *value,
-                         GParamSpec   *pspec)
+gimp_ruler_get_property (GObject    *object,
+                         guint       prop_id,
+                         GValue     *value,
+                         GParamSpec *pspec)
 {
   GimpRuler        *ruler = GIMP_RULER (object);
   GimpRulerPrivate *priv  = GIMP_RULER_GET_PRIVATE (ruler);



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