mirror of https://github.com/GNOME/gimp.git
use const for G_CONST_RETURN.
2006-07-05 Sven Neumann <sven@gimp.org> * libgimp/gimp*selectbutton.[ch]: use const for G_CONST_RETURN.
This commit is contained in:
parent
bdd3c6444b
commit
e85896c0fa
|
@ -1,3 +1,7 @@
|
|||
2006-07-05 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimp/gimp*selectbutton.[ch]: use const for G_CONST_RETURN.
|
||||
|
||||
2006-07-05 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpbase/gimpenv.h
|
||||
|
|
|
@ -352,7 +352,7 @@ gimp_brush_select_button_new (const gchar *title,
|
|||
*
|
||||
* Since: GIMP 2.4
|
||||
*/
|
||||
G_CONST_RETURN gchar *
|
||||
const gchar *
|
||||
gimp_brush_select_button_get_brush (GimpBrushSelectButton *button,
|
||||
gdouble *opacity,
|
||||
gint *spacing,
|
||||
|
|
|
@ -67,23 +67,23 @@ struct _GimpBrushSelectButtonClass
|
|||
};
|
||||
|
||||
|
||||
GType gimp_brush_select_button_get_type (void) G_GNUC_CONST;
|
||||
GType gimp_brush_select_button_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GtkWidget * gimp_brush_select_button_new (const gchar *title,
|
||||
const gchar *brush_name,
|
||||
gdouble opacity,
|
||||
gint spacing,
|
||||
GimpLayerModeEffects paint_mode);
|
||||
GtkWidget * gimp_brush_select_button_new (const gchar *title,
|
||||
const gchar *brush_name,
|
||||
gdouble opacity,
|
||||
gint spacing,
|
||||
GimpLayerModeEffects paint_mode);
|
||||
|
||||
G_CONST_RETURN gchar * gimp_brush_select_button_get_brush (GimpBrushSelectButton *button,
|
||||
gdouble *opacity,
|
||||
gint *spacing,
|
||||
GimpLayerModeEffects *paint_mode);
|
||||
void gimp_brush_select_button_set_brush (GimpBrushSelectButton *button,
|
||||
const gchar *brush_name,
|
||||
gdouble opacity,
|
||||
gint spacing,
|
||||
GimpLayerModeEffects paint_mode);
|
||||
const gchar * gimp_brush_select_button_get_brush (GimpBrushSelectButton *button,
|
||||
gdouble *opacity,
|
||||
gint *spacing,
|
||||
GimpLayerModeEffects *paint_mode);
|
||||
void gimp_brush_select_button_set_brush (GimpBrushSelectButton *button,
|
||||
const gchar *brush_name,
|
||||
gdouble opacity,
|
||||
gint spacing,
|
||||
GimpLayerModeEffects paint_mode);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -225,7 +225,7 @@ gimp_font_select_button_new (const gchar *title,
|
|||
*
|
||||
* Since: GIMP 2.4
|
||||
*/
|
||||
G_CONST_RETURN gchar *
|
||||
const gchar *
|
||||
gimp_font_select_button_get_font (GimpFontSelectButton *button)
|
||||
{
|
||||
GimpFontSelectButtonPrivate *priv;
|
||||
|
|
|
@ -61,14 +61,14 @@ struct _GimpFontSelectButtonClass
|
|||
};
|
||||
|
||||
|
||||
GType gimp_font_select_button_get_type (void) G_GNUC_CONST;
|
||||
GType gimp_font_select_button_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GtkWidget * gimp_font_select_button_new (const gchar *title,
|
||||
const gchar *font_name);
|
||||
GtkWidget * gimp_font_select_button_new (const gchar *title,
|
||||
const gchar *font_name);
|
||||
|
||||
G_CONST_RETURN gchar * gimp_font_select_button_get_font (GimpFontSelectButton *button);
|
||||
void gimp_font_select_button_set_font (GimpFontSelectButton *button,
|
||||
const gchar *font_name);
|
||||
const gchar * gimp_font_select_button_get_font (GimpFontSelectButton *button);
|
||||
void gimp_font_select_button_set_font (GimpFontSelectButton *button,
|
||||
const gchar *font_name);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -249,7 +249,7 @@ gimp_gradient_select_button_new (const gchar *title,
|
|||
*
|
||||
* Since: GIMP 2.4
|
||||
*/
|
||||
G_CONST_RETURN gchar *
|
||||
const gchar *
|
||||
gimp_gradient_select_button_get_gradient (GimpGradientSelectButton *button)
|
||||
{
|
||||
GimpGradientSelectButtonPrivate *priv;
|
||||
|
|
|
@ -63,14 +63,14 @@ struct _GimpGradientSelectButtonClass
|
|||
};
|
||||
|
||||
|
||||
GType gimp_gradient_select_button_get_type (void) G_GNUC_CONST;
|
||||
GType gimp_gradient_select_button_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GtkWidget * gimp_gradient_select_button_new (const gchar *title,
|
||||
const gchar *gradient_name);
|
||||
GtkWidget * gimp_gradient_select_button_new (const gchar *title,
|
||||
const gchar *gradient_name);
|
||||
|
||||
G_CONST_RETURN gchar * gimp_gradient_select_button_get_gradient (GimpGradientSelectButton *button);
|
||||
void gimp_gradient_select_button_set_gradient (GimpGradientSelectButton *button,
|
||||
const gchar *gradient_name);
|
||||
const gchar * gimp_gradient_select_button_get_gradient (GimpGradientSelectButton *button);
|
||||
void gimp_gradient_select_button_set_gradient (GimpGradientSelectButton *button,
|
||||
const gchar *gradient_name);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -225,7 +225,7 @@ gimp_palette_select_button_new (const gchar *title,
|
|||
*
|
||||
* Since: GIMP 2.4
|
||||
*/
|
||||
G_CONST_RETURN gchar *
|
||||
const gchar *
|
||||
gimp_palette_select_button_get_palette (GimpPaletteSelectButton *button)
|
||||
{
|
||||
GimpPaletteSelectButtonPrivate *priv;
|
||||
|
|
|
@ -61,14 +61,14 @@ struct _GimpPaletteSelectButtonClass
|
|||
};
|
||||
|
||||
|
||||
GType gimp_palette_select_button_get_type (void) G_GNUC_CONST;
|
||||
GType gimp_palette_select_button_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GtkWidget * gimp_palette_select_button_new (const gchar *title,
|
||||
const gchar *palette_name);
|
||||
GtkWidget * gimp_palette_select_button_new (const gchar *title,
|
||||
const gchar *palette_name);
|
||||
|
||||
G_CONST_RETURN gchar * gimp_palette_select_button_get_palette (GimpPaletteSelectButton *button);
|
||||
void gimp_palette_select_button_set_palette (GimpPaletteSelectButton *button,
|
||||
const gchar *palette_name);
|
||||
const gchar * gimp_palette_select_button_get_palette (GimpPaletteSelectButton *button);
|
||||
void gimp_palette_select_button_set_palette (GimpPaletteSelectButton *button,
|
||||
const gchar *palette_name);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -268,7 +268,7 @@ gimp_pattern_select_button_new (const gchar *title,
|
|||
*
|
||||
* Since: GIMP 2.4
|
||||
*/
|
||||
G_CONST_RETURN gchar *
|
||||
const gchar *
|
||||
gimp_pattern_select_button_get_pattern (GimpPatternSelectButton *button)
|
||||
{
|
||||
GimpPatternSelectButtonPrivate *priv;
|
||||
|
|
|
@ -65,14 +65,14 @@ struct _GimpPatternSelectButtonClass
|
|||
};
|
||||
|
||||
|
||||
GType gimp_pattern_select_button_get_type (void) G_GNUC_CONST;
|
||||
GType gimp_pattern_select_button_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GtkWidget * gimp_pattern_select_button_new (const gchar *title,
|
||||
const gchar *pattern_name);
|
||||
GtkWidget * gimp_pattern_select_button_new (const gchar *title,
|
||||
const gchar *pattern_name);
|
||||
|
||||
G_CONST_RETURN gchar * gimp_pattern_select_button_get_pattern (GimpPatternSelectButton *button);
|
||||
void gimp_pattern_select_button_set_pattern (GimpPatternSelectButton *button,
|
||||
const gchar *pattern_name);
|
||||
const gchar * gimp_pattern_select_button_get_pattern (GimpPatternSelectButton *button);
|
||||
void gimp_pattern_select_button_set_pattern (GimpPatternSelectButton *button,
|
||||
const gchar *pattern_name);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
|
Loading…
Reference in New Issue