Commit 94010e83 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

app/config/gimpconfigwriter.c app/core/gimpstrokeoptions.c

2004-05-24  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpconfigwriter.c
	* app/core/gimpstrokeoptions.c
	* app/widgets/gimpactiongroup.c
	* app/widgets/gimpcolorframe.h
	* app/widgets/gimpcolorpanel.h
	* app/widgets/gimpcontainerview.[ch]
	* app/widgets/gimptooldialog.h
	* app/widgets/gimpuimanager.c
	* app/widgets/widgets-types.h: fixed various small issues I
	stumbled across when updating the API reference for app/.
parent 84db7b13
2004-05-24 Michael Natterer <mitch@gimp.org>
* app/config/gimpconfigwriter.c
* app/core/gimpstrokeoptions.c
* app/widgets/gimpactiongroup.c
* app/widgets/gimpcolorframe.h
* app/widgets/gimpcolorpanel.h
* app/widgets/gimpcontainerview.[ch]
* app/widgets/gimptooldialog.h
* app/widgets/gimpuimanager.c
* app/widgets/widgets-types.h: fixed various small issues I
stumbled across when updating the API reference for app/.
2004-05-24 Sven Neumann <sven@gimp.org>
* app/display/gimpscalecombobox.c
......
......@@ -321,8 +321,8 @@ gimp_config_writer_string (GimpConfigWriter *writer,
/**
* gimp_config_writer_identifier:
* @writer: a #GimpConfigWriter
* @string: a NUL-terminated string
* @writer: a #GimpConfigWriter
* @identifier: a NUL-terminated string
*
* Writes an identifier to @writer. The @string is *not* quoted and special
* characters are *not* escaped.
......
......@@ -32,6 +32,7 @@
#include "gimpmarshal.h"
#include "gimpstrokeoptions.h"
enum
{
PROP_0,
......@@ -53,6 +54,7 @@ enum
LAST_SIGNAL
};
static void gimp_stroke_options_class_init (GimpStrokeOptionsClass *klass);
static void gimp_stroke_options_set_property (GObject *object,
......@@ -100,27 +102,25 @@ gimp_stroke_options_get_type (void)
static void
gimp_stroke_options_class_init (GimpStrokeOptionsClass *klass)
{
GObjectClass *object_class;
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GParamSpec *array_spec;
object_class = G_OBJECT_CLASS (klass);
parent_class = g_type_class_peek_parent (klass);
stroke_options_signals[DASH_INFO_CHANGED] =
g_signal_new ("dash_info_changed",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GimpStrokeOptionsClass, dash_info_changed),
NULL, NULL,
gimp_marshal_VOID__ENUM,
G_TYPE_NONE, 1,
GIMP_TYPE_DASH_PRESET);
object_class->set_property = gimp_stroke_options_set_property;
object_class->get_property = gimp_stroke_options_get_property;
klass->dash_info_changed = NULL;
object_class->set_property = gimp_stroke_options_set_property;
object_class->get_property = gimp_stroke_options_get_property;
stroke_options_signals[DASH_INFO_CHANGED] =
g_signal_new ("dash_info_changed",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GimpStrokeOptionsClass, dash_info_changed),
NULL, NULL,
gimp_marshal_VOID__ENUM,
G_TYPE_NONE, 1,
GIMP_TYPE_DASH_PRESET);
GIMP_CONFIG_INSTALL_PROP_ENUM (object_class, PROP_STYLE,
"style", NULL,
......
......@@ -225,8 +225,11 @@ gimp_action_group_get_property (GObject *object,
/**
* gimp_action_group_new:
* @gimp: the @Gimp instance this action group belongs to
* @name: the name of the action group.
* @gimp: the @Gimp instance this action group belongs to
* @name: the name of the action group.
* @user_data: the user_data for #GtkAction callbacks.
* @update_func: the function that will be called on
* gimp_action_group_update().
*
* Creates a new #GimpActionGroup object. The name of the action group
* is used when associating <link linkend="Action-Accel">keybindings</link>
......
......@@ -34,8 +34,7 @@
#define GIMP_COLOR_FRAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_COLOR_FRAME, GimpColorFrameClass))
typedef struct _GimpColorFrame GimpColorFrame;
typedef struct _GimpColorFrameClass GimpColorFrameClass;
typedef struct _GimpColorFrameClass GimpColorFrameClass;
struct _GimpColorFrame
{
......
......@@ -31,8 +31,7 @@
#define GIMP_COLOR_PANEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_COLOR_PANEL, GimpColorPanelClass))
typedef struct _GimpColorPanel GimpColorPanel;
typedef struct _GimpColorPanelClass GimpColorPanelClass;
typedef struct _GimpColorPanelClass GimpColorPanelClass;
struct _GimpColorPanelClass
{
......
......@@ -48,6 +48,9 @@ enum
};
#define GIMP_CONTAINER_VIEW_GET_PRIVATE(obj) (gimp_container_view_get_private ((GimpContainerView *) (obj)))
typedef struct _GimpContainerViewPrivate GimpContainerViewPrivate;
struct _GimpContainerViewPrivate
......
......@@ -40,8 +40,6 @@ enum
#define GIMP_IS_CONTAINER_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_CONTAINER_VIEW))
#define GIMP_CONTAINER_VIEW_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GIMP_TYPE_CONTAINER_VIEW, GimpContainerViewInterface))
#define GIMP_CONTAINER_VIEW_GET_PRIVATE(obj) (gimp_container_view_get_private ((GimpContainerView *) (obj)))
typedef struct _GimpContainerViewInterface GimpContainerViewInterface;
......
......@@ -33,8 +33,7 @@
#define GIMP_TOOL_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_TOOL_DIALOG, GimpToolDialogClass))
typedef struct _GimpViewableDialogClass GimpToolDialogClass;
typedef struct _GimpViewableDialog GimpToolDialog;
typedef struct _GimpViewableDialogClass GimpToolDialogClass;
GType gimp_tool_dialog_get_type (void) G_GNUC_CONST;
......
......@@ -365,6 +365,7 @@ gimp_ui_manager_real_update (GimpUIManager *manager,
/**
* gimp_ui_manager_new:
* @gimp: the @Gimp instance this ui manager belongs to
* @name: the UI manager's name.
*
* Creates a new #GimpUIManager object.
*
......
......@@ -116,6 +116,7 @@ typedef struct _GimpDocked GimpDocked; /* dummy typedef */
typedef struct _GimpFileDialog GimpFileDialog;
typedef struct _GimpTextEditor GimpTextEditor;
typedef struct _GimpViewableDialog GimpToolDialog;
typedef struct _GimpViewableDialog GimpViewableDialog;
typedef struct _GimpContainerPopup GimpContainerPopup;
......@@ -123,6 +124,8 @@ typedef struct _GimpViewableButton GimpViewableButton;
typedef struct _GimpColorBar GimpColorBar;
typedef struct _GimpColorDisplayEditor GimpColorDisplayEditor;
typedef struct _GimpColorFrame GimpColorFrame;
typedef struct _GimpColorPanel GimpColorPanel;
typedef struct _GimpDashEditor GimpDashEditor;
typedef struct _GimpGridEditor GimpGridEditor;
typedef struct _GimpHistogramBox GimpHistogramBox;
......
......@@ -321,8 +321,8 @@ gimp_config_writer_string (GimpConfigWriter *writer,
/**
* gimp_config_writer_identifier:
* @writer: a #GimpConfigWriter
* @string: a NUL-terminated string
* @writer: a #GimpConfigWriter
* @identifier: a NUL-terminated string
*
* Writes an identifier to @writer. The @string is *not* quoted and special
* characters are *not* escaped.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment