Fix typo range->dial in gtkdial.[ch]

This commit is contained in:
Geoffrey D. Bennett
2024-01-16 17:55:04 +10:30
parent d91c9d5687
commit 64ca9f78da
2 changed files with 6 additions and 6 deletions

View File

@@ -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",

View File

@@ -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: