gimp r24888 - in trunk: . libgimpwidgets



Author: mitch
Date: Thu Feb 14 17:49:53 2008
New Revision: 24888
URL: http://svn.gnome.org/viewvc/gimp?rev=24888&view=rev

Log:
2008-02-14  Michael Natterer  <mitch gimp org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpscaleentry.[ch]: cleanup.



Modified:
   trunk/ChangeLog
   trunk/libgimpwidgets/Makefile.am
   trunk/libgimpwidgets/gimpscaleentry.c
   trunk/libgimpwidgets/gimpscaleentry.h

Modified: trunk/libgimpwidgets/Makefile.am
==============================================================================
--- trunk/libgimpwidgets/Makefile.am	(original)
+++ trunk/libgimpwidgets/Makefile.am	Thu Feb 14 17:49:53 2008
@@ -150,8 +150,8 @@
 	gimppropwidgets.h		\
 	gimpquerybox.c			\
 	gimpquerybox.h			\
-	gimpscaleentry.h		\
 	gimpscaleentry.c		\
+	gimpscaleentry.h		\
 	gimpscrolledpreview.c		\
 	gimpscrolledpreview.h		\
 	gimpsizeentry.c			\

Modified: trunk/libgimpwidgets/gimpscaleentry.c
==============================================================================
--- trunk/libgimpwidgets/gimpscaleentry.c	(original)
+++ trunk/libgimpwidgets/gimpscaleentry.c	Thu Feb 14 17:49:53 2008
@@ -1,7 +1,7 @@
 /* LIBGIMP - The GIMP Library
  * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
  *
- * gimpwidgets.c
+ * gimpscaleentry.c
  * Copyright (C) 2000 Michael Natterer <mitch gimp org>
  *
  * This library is free software; you can redistribute it and/or
@@ -30,6 +30,7 @@
 
 #include "gimpwidgets.h"
 
+
 static void gimp_scale_entry_unconstrained_adjustment_callback (GtkAdjustment *adjustment,
                                                                 GtkAdjustment *other_adj);
 static void gimp_scale_entry_exp_adjustment_callback           (GtkAdjustment *adjustment,

Modified: trunk/libgimpwidgets/gimpscaleentry.h
==============================================================================
--- trunk/libgimpwidgets/gimpscaleentry.h	(original)
+++ trunk/libgimpwidgets/gimpscaleentry.h	Thu Feb 14 17:49:53 2008
@@ -3,7 +3,7 @@
  *
  * gimpscaleentry.h
  * Copyright (C) 2000 Michael Natterer <mitch gimp org>,
- * 2008 Bill Skaggs <weskaggs primate ucdavis edu>
+ *               2008 Bill Skaggs <weskaggs primate ucdavis edu>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -24,6 +24,9 @@
 #ifndef __GIMP_SCALE_ENTRY_H__
 #define __GIMP_SCALE_ENTRY_H__
 
+G_BEGIN_DECLS
+
+
 #define GIMP_SCALE_ENTRY_LABEL(adj) \
         (g_object_get_data (G_OBJECT (adj), "label"))
 
@@ -39,46 +42,46 @@
         gtk_spin_button_get_adjustment \
         (GTK_SPIN_BUTTON (g_object_get_data (G_OBJECT (adj), "spinbutton")))
 
-GtkObject * gimp_scale_entry_new       (GtkTable           *table,
-                                        gint                column,
-                                        gint                row,
-                                        const gchar        *text,
-                                        gint                scale_width,
-                                        gint                spinbutton_width,
-                                        gdouble             value,
-                                        gdouble             lower,
-                                        gdouble             upper,
-                                        gdouble             step_increment,
-                                        gdouble             page_increment,
-                                        guint               digits,
-                                        gboolean            constrain,
-                                        gdouble             unconstrained_lower,
-                                        gdouble             unconstrained_upper,
-                                        const gchar        *tooltip,
-                                        const gchar        *help_id);
-
-
-GtkObject * gimp_color_scale_entry_new (GtkTable           *table,
-                                        gint                column,
-                                        gint                row,
-                                        const gchar        *text,
-                                        gint                scale_width,
-                                        gint                spinbutton_width,
-                                        gdouble             value,
-                                        gdouble             lower,
-                                        gdouble             upper,
-                                        gdouble             step_increment,
-                                        gdouble             page_increment,
-                                        guint               digits,
-                                        const gchar        *tooltip,
-                                        const gchar        *help_id);
-
-void     gimp_scale_entry_set_sensitive   (GtkObject       *adjustment,
-                                           gboolean         sensitive);
-
-void     gimp_scale_entry_set_logarithmic (GtkObject       *adjustment,
-                                           gboolean         logarithmic);
-gboolean gimp_scale_entry_get_logarithmic (GtkObject       *adjustment);
+
+GtkObject * gimp_scale_entry_new             (GtkTable    *table,
+                                              gint         column,
+                                              gint         row,
+                                              const gchar *text,
+                                              gint         scale_width,
+                                              gint         spinbutton_width,
+                                              gdouble      value,
+                                              gdouble      lower,
+                                              gdouble      upper,
+                                              gdouble      step_increment,
+                                              gdouble      page_increment,
+                                              guint        digits,
+                                              gboolean     constrain,
+                                              gdouble      unconstrained_lower,
+                                              gdouble      unconstrained_upper,
+                                              const gchar *tooltip,
+                                              const gchar *help_id);
+
+GtkObject * gimp_color_scale_entry_new       (GtkTable    *table,
+                                              gint         column,
+                                              gint         row,
+                                              const gchar *text,
+                                              gint         scale_width,
+                                              gint         spinbutton_width,
+                                              gdouble      value,
+                                              gdouble      lower,
+                                              gdouble      upper,
+                                              gdouble      step_increment,
+                                              gdouble      page_increment,
+                                              guint        digits,
+                                              const gchar *tooltip,
+                                              const gchar *help_id);
+
+void        gimp_scale_entry_set_sensitive   (GtkObject   *adjustment,
+                                              gboolean     sensitive);
+
+void        gimp_scale_entry_set_logarithmic (GtkObject   *adjustment,
+                                              gboolean     logarithmic);
+gboolean    gimp_scale_entry_get_logarithmic (GtkObject   *adjustment);
 
 
 



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