From 7342317c31a5760c7e2e188e7aedb2fa4c37456a Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 25 Sep 2024 02:01:44 +0200 Subject: [PATCH] gdk: Fix parameter names --- gdk/gdkcicpparamsprivate.h | 2 +- gdk/gdkcolorprivate.h | 4 ++-- gdk/gdkcolorstateprivate.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gdk/gdkcicpparamsprivate.h b/gdk/gdkcicpparamsprivate.h index d7ed12c9f4..bd9bbb3817 100644 --- a/gdk/gdkcicpparamsprivate.h +++ b/gdk/gdkcicpparamsprivate.h @@ -79,6 +79,6 @@ gdk_cicp_equivalent (const GdkCicp *p1, 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); diff --git a/gdk/gdkcolorprivate.h b/gdk/gdkcolorprivate.h index f12f298ecb..3c72f1a127 100644 --- a/gdk/gdkcolorprivate.h +++ b/gdk/gdkcolorprivate.h @@ -79,8 +79,8 @@ void gdk_color_init_from_rgba (GdkColor *self, const GdkRGBA *rgba); void gdk_color_finish (GdkColor *self); -gboolean gdk_color_equal (const GdkColor *color1, - const GdkColor *color2); +gboolean gdk_color_equal (const GdkColor *self, + const GdkColor *other); gboolean gdk_color_is_clear (const GdkColor *self); gboolean gdk_color_is_opaque (const GdkColor *self); diff --git a/gdk/gdkcolorstateprivate.h b/gdk/gdkcolorstateprivate.h index be98807f0c..cea7bc82fd 100644 --- a/gdk/gdkcolorstateprivate.h +++ b/gdk/gdkcolorstateprivate.h @@ -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]) #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_new_for_cicp (const GdkCicp *cicp,