From 64ca9f78dab5216295d82f7d72d369ee583eae51 Mon Sep 17 00:00:00 2001 From: "Geoffrey D. Bennett" Date: Tue, 16 Jan 2024 17:55:04 +1030 Subject: [PATCH] Fix typo range->dial in gtkdial.[ch] --- src/gtkdial.c | 8 ++++---- src/gtkdial.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gtkdial.c b/src/gtkdial.c index d20b764..5d62dd7 100644 --- a/src/gtkdial.c +++ b/src/gtkdial.c @@ -250,7 +250,7 @@ static void gtk_dial_class_init(GtkDialClass *klass) { /** * GtkDial:adjustment: (attributes org.gtk.Method.get=gtk_dial_get_adjustment org.gtk.Method.set=gtk_dial_set_adjustment) * - * The GtkAdjustment that contains the current value of this range object. + * The GtkAdjustment that contains the current value of this dial object. */ properties[PROP_ADJUSTMENT] = g_param_spec_object( "adjustment", @@ -291,10 +291,10 @@ static void gtk_dial_class_init(GtkDialClass *klass) { g_object_class_install_properties(g_class, LAST_PROP, properties); /** - * GtkRange::value-changed: - * @range: the `GtkRange` that received the signal + * GtkDial::value-changed: + * @dial: the `GtkDial` that received the signal * - * Emitted when the range value changes. + * Emitted when the dial value changes. */ signals[VALUE_CHANGED] = g_signal_new( "value-changed", diff --git a/src/gtkdial.h b/src/gtkdial.h index 3d2067b..418f4aa 100644 --- a/src/gtkdial.h +++ b/src/gtkdial.h @@ -60,10 +60,10 @@ double gtk_dial_get_value(GtkDial *dial); void gtk_dial_set_value(GtkDial *dial, double value); void gtk_dial_set_round_digits(GtkDial *dial, int round_digits); -int gtk_dial_get_round_digits(GtkDial *range); +int gtk_dial_get_round_digits(GtkDial *dial); void gtk_dial_set_zero_db(GtkDial *dial, double zero_db); -double gtk_dial_get_zero_db(GtkDial *range); +double gtk_dial_get_zero_db(GtkDial *dial); /** * @brief Set the colors which this dial uses. String codes can be one of the following: