mirror of https://github.com/GNOME/gimp.git
libgimp*: fix some parameter inconsistencies to silence GI warnings
This commit is contained in:
parent
f90e19091d
commit
c08186e6fe
|
@ -95,8 +95,8 @@ struct _GimpPlugInClass
|
|||
|
||||
/**
|
||||
* GimpPlugInClass::create_procedure:
|
||||
* @plug_in: a #GimpPlugIn.
|
||||
* @name: procedure name.
|
||||
* @plug_in: a #GimpPlugIn.
|
||||
* @procedure_name: procedure name.
|
||||
*
|
||||
* This method should be overridden by all plug-ins and return a newly
|
||||
* allocated #GimpProcedure named @name.
|
||||
|
@ -107,7 +107,7 @@ struct _GimpPlugInClass
|
|||
* the procedure to be registered by @plug_in.
|
||||
*/
|
||||
GimpProcedure * (* create_procedure) (GimpPlugIn *plug_in,
|
||||
const gchar *name);
|
||||
const gchar *procedure_name);
|
||||
|
||||
/**
|
||||
* GimpPlugInClass::quit:
|
||||
|
|
|
@ -116,18 +116,19 @@ gimp_button_new (void)
|
|||
|
||||
/**
|
||||
* gimp_button_extended_clicked:
|
||||
* @button: a #GimpButton.
|
||||
* @state: a state as found in #GdkEventButton->state, e.g. #GDK_SHIFT_MASK.
|
||||
* @button: a #GimpButton.
|
||||
* @modifier_state: a state as found in #GdkEventButton->state,
|
||||
* e.g. #GDK_SHIFT_MASK.
|
||||
*
|
||||
* Emits the button's "extended_clicked" signal.
|
||||
**/
|
||||
void
|
||||
gimp_button_extended_clicked (GimpButton *button,
|
||||
GdkModifierType state)
|
||||
GdkModifierType modifier_state)
|
||||
{
|
||||
g_return_if_fail (GIMP_IS_BUTTON (button));
|
||||
|
||||
g_signal_emit (button, button_signals[EXTENDED_CLICKED], 0, state);
|
||||
g_signal_emit (button, button_signals[EXTENDED_CLICKED], 0, modifier_state);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
|
@ -73,7 +73,7 @@ GType gimp_button_get_type (void) G_GNUC_CONST;
|
|||
GtkWidget * gimp_button_new (void);
|
||||
|
||||
void gimp_button_extended_clicked (GimpButton *button,
|
||||
GdkModifierType state);
|
||||
GdkModifierType modifier_state);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
|
Loading…
Reference in New Issue