gdk: Fix parameter names

This commit is contained in:
Benjamin Otte 2024-09-25 02:01:44 +02:00
parent 8d8bd4efba
commit 7342317c31
3 changed files with 4 additions and 4 deletions

View File

@ -79,6 +79,6 @@ gdk_cicp_equivalent (const GdkCicp *p1,
return gdk_cicp_equal (&n1, &n2); return gdk_cicp_equal (&n1, &n2);
} }
const GdkCicp * gdk_cicp_params_get_cicp (GdkCicpParams *params); const GdkCicp * gdk_cicp_params_get_cicp (GdkCicpParams *self);
GdkCicpParams * gdk_cicp_params_new_for_cicp (const GdkCicp *cicp); GdkCicpParams * gdk_cicp_params_new_for_cicp (const GdkCicp *cicp);

View File

@ -79,8 +79,8 @@ void gdk_color_init_from_rgba (GdkColor *self,
const GdkRGBA *rgba); const GdkRGBA *rgba);
void gdk_color_finish (GdkColor *self); void gdk_color_finish (GdkColor *self);
gboolean gdk_color_equal (const GdkColor *color1, gboolean gdk_color_equal (const GdkColor *self,
const GdkColor *color2); const GdkColor *other);
gboolean gdk_color_is_clear (const GdkColor *self); gboolean gdk_color_is_clear (const GdkColor *self);
gboolean gdk_color_is_opaque (const GdkColor *self); gboolean gdk_color_is_opaque (const GdkColor *self);

View File

@ -78,7 +78,7 @@ extern GdkDefaultColorState gdk_default_color_states[GDK_COLOR_STATE_N_IDS];
(GdkDefaultColorState *) (c) < &gdk_default_color_states[GDK_COLOR_STATE_N_IDS]) (GdkDefaultColorState *) (c) < &gdk_default_color_states[GDK_COLOR_STATE_N_IDS])
#define GDK_DEFAULT_COLOR_STATE_ID(c) ((GdkColorStateId) (((GdkDefaultColorState *) c) - gdk_default_color_states)) #define GDK_DEFAULT_COLOR_STATE_ID(c) ((GdkColorStateId) (((GdkDefaultColorState *) c) - gdk_default_color_states))
const char * gdk_color_state_get_name (GdkColorState *color_state); const char * gdk_color_state_get_name (GdkColorState *self);
GdkColorState * gdk_color_state_get_no_srgb_tf (GdkColorState *self); GdkColorState * gdk_color_state_get_no_srgb_tf (GdkColorState *self);
GdkColorState * gdk_color_state_new_for_cicp (const GdkCicp *cicp, GdkColorState * gdk_color_state_new_for_cicp (const GdkCicp *cicp,