gimp r25893 - in trunk: . app/display app/gegl app/tools app/widgets



Author: mitch
Date: Wed Jun  4 16:09:57 2008
New Revision: 25893
URL: http://svn.gnome.org/viewvc/gimp?rev=25893&view=rev

Log:
2008-06-04  Michael Natterer  <mitch gimp org>

	* app/display/gimpdisplayshell-scale.c
	* app/gegl/gimpoperationdesaturate.h
	* app/tools/gimprectangletool.c
	* app/widgets/gimpradioaction.h
	* app/widgets/gimptoggleaction.h: various fixes tpo make gtk-doc
	happy.



Modified:
   trunk/ChangeLog
   trunk/app/display/gimpdisplayshell-scale.c
   trunk/app/gegl/gimpoperationdesaturate.h
   trunk/app/tools/gimprectangletool.c
   trunk/app/widgets/gimpradioaction.h
   trunk/app/widgets/gimptoggleaction.h

Modified: trunk/app/display/gimpdisplayshell-scale.c
==============================================================================
--- trunk/app/display/gimpdisplayshell-scale.c	(original)
+++ trunk/app/display/gimpdisplayshell-scale.c	Wed Jun  4 16:09:57 2008
@@ -564,7 +564,7 @@
  * gimp_display_shell_scale_resize:
  * @shell:          the #GimpDisplayShell
  * @resize_window:  whether the display window should be resized
- * @redisplay:      whether the display window should be redrawn
+ * @grow_only:      whether shrinking of the window is allowed or not
  *
  * Function commonly called after a change in display scale to make the changes
  * visible to the user. If @resize_window is %TRUE then the display window is

Modified: trunk/app/gegl/gimpoperationdesaturate.h
==============================================================================
--- trunk/app/gegl/gimpoperationdesaturate.h	(original)
+++ trunk/app/gegl/gimpoperationdesaturate.h	Wed Jun  4 16:09:57 2008
@@ -26,10 +26,12 @@
 #include "gimpoperationpointfilter.h"
 
 
-#define GIMP_TYPE_OPERATION_DESATURATE           (gimp_operation_desaturate_get_type ())
-#define GIMP_OPERATION_DESATURATE(obj)           (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_OPERATION_DESATURATE, GimpOperationDesaturate))
-#define GIMP_OPERATION_DESATURATE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass),  GIMP_TYPE_OPERATION_DESATURATE, GimpOperationDesaturateClass))
-#define GIMP_OPERATION_DESATURATE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),  GIMP_TYPE_OPERATION_DESATURATE, GimpOperationDesaturateClass))
+#define GIMP_TYPE_OPERATION_DESATURATE            (gimp_operation_desaturate_get_type ())
+#define GIMP_OPERATION_DESATURATE(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_OPERATION_DESATURATE, GimpOperationDesaturate))
+#define GIMP_OPERATION_DESATURATE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass),  GIMP_TYPE_OPERATION_DESATURATE, GimpOperationDesaturateClass))
+#define GIMP_IS_OPERATION_DESATURATE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_OPERATION_DESATURATE))
+#define GIMP_IS_OPERATION_DESATURATE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),  GIMP_TYPE_OPERATION_DESATURATE))
+#define GIMP_OPERATION_DESATURATE_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj),  GIMP_TYPE_OPERATION_DESATURATE, GimpOperationDesaturateClass))
 
 
 typedef struct _GimpOperationDesaturateClass GimpOperationDesaturateClass;

Modified: trunk/app/tools/gimprectangletool.c
==============================================================================
--- trunk/app/tools/gimprectangletool.c	(original)
+++ trunk/app/tools/gimprectangletool.c	Wed Jun  4 16:09:57 2008
@@ -4095,8 +4095,8 @@
  * @pub_x2:
  * @pub_y2:
  *
- * Returns the rectangle as it appears to be publicly (based on
- * integer or double precision-mode.
+ * This function returns the rectangle as it appears to be publicly
+ * (based on integer or double precision-mode).
  **/
 static void
 gimp_rectangle_tool_get_public_rect (GimpRectangleTool *rect_tool,

Modified: trunk/app/widgets/gimpradioaction.h
==============================================================================
--- trunk/app/widgets/gimpradioaction.h	(original)
+++ trunk/app/widgets/gimpradioaction.h	Wed Jun  4 16:09:57 2008
@@ -32,8 +32,18 @@
 #define GIMP_RADIO_ACTION_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), GIMP_TYPE_RADIO_ACTION, GimpRadioActionClass))
 
 
-typedef GtkRadioAction      GimpRadioAction;
-typedef GtkRadioActionClass GimpRadioActionClass;
+typedef struct _GimpRadioAction      GimpRadioAction;
+typedef struct _GimpRadioActionClass GimpRadioActionClass;
+
+struct _GimpRadioAction
+{
+  GtkRadioAction  parent_instance;
+};
+
+struct _GimpRadioActionClass
+{
+  GtkRadioActionClass  parent_class;
+};
 
 
 GType            gimp_radio_action_get_type (void) G_GNUC_CONST;

Modified: trunk/app/widgets/gimptoggleaction.h
==============================================================================
--- trunk/app/widgets/gimptoggleaction.h	(original)
+++ trunk/app/widgets/gimptoggleaction.h	Wed Jun  4 16:09:57 2008
@@ -32,8 +32,18 @@
 #define GIMP_TOGGLE_ACTION_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), GIMP_TYPE_TOGGLE_ACTION, GimpToggleActionClass))
 
 
-typedef GtkToggleAction      GimpToggleAction;
-typedef GtkToggleActionClass GimpToggleActionClass;
+typedef struct _GimpToggleAction      GimpToggleAction;
+typedef struct _GimpToggleActionClass GimpToggleActionClass;
+
+struct _GimpToggleAction
+{
+  GtkToggleAction  parent_instance;
+};
+
+struct _GimpToggleActionClass
+{
+  GtkToggleActionClass  parent_class;
+};
 
 
 GType             gimp_toggle_action_get_type (void) G_GNUC_CONST;



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