diff options
Diffstat (limited to 'src/math-preferences.c')
-rw-r--r-- | src/math-preferences.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math-preferences.c b/src/math-preferences.c index adbd58e..33565d9 100644 --- a/src/math-preferences.c +++ b/src/math-preferences.c @@ -35,7 +35,7 @@ G_DEFINE_TYPE_WITH_PRIVATE (MathPreferencesDialog, math_preferences, GTK_TYPE_DI MathPreferencesDialog * math_preferences_dialog_new(MathEquation *equation) -{ +{ return g_object_new(math_preferences_get_type(), "equation", equation, NULL); } @@ -210,7 +210,7 @@ word_size_cb(MathEquation *equation, GParamSpec *spec, MathPreferencesDialog *di static void angle_unit_cb(MathEquation *equation, GParamSpec *spec, MathPreferencesDialog *dialog) { - set_combo_box_from_int(GET_WIDGET(dialog->priv->ui, "angle_unit_combobox"), math_equation_get_angle_units(equation)); + set_combo_box_from_int(GET_WIDGET(dialog->priv->ui, "angle_unit_combobox"), math_equation_get_angle_units(equation)); g_settings_set_enum(g_settings_var, "angle-units", math_equation_get_angle_units(equation)); } |