diff options
author | Alberto Ruiz <aruiz@gnome.org> | 2013-08-02 15:56:54 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@gnome.org> | 2013-08-02 15:56:54 +0200 |
commit | ef77e4727c7d5935a17ebc52b9bfa7b19f72c7f7 (patch) | |
tree | e821bd75b6a97462eecdb17fc6d96c515b336819 /gtk/gtkfontchooserwidget.c | |
parent | 20adc37a014d414bd065c10fe241d7aaec93db20 (diff) | |
download | gtk+-ef77e4727c7d5935a17ebc52b9bfa7b19f72c7f7.tar.gz |
fontchooser: set the minimum size of the spinner to 1
Diffstat (limited to 'gtk/gtkfontchooserwidget.c')
-rw-r--r-- | gtk/gtkfontchooserwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfontchooserwidget.c b/gtk/gtkfontchooserwidget.c index a0dcc94e31..16f964dd0b 100644 --- a/gtk/gtkfontchooserwidget.c +++ b/gtk/gtkfontchooserwidget.c @@ -537,7 +537,7 @@ gtk_font_chooser_widget_init (GtkFontChooserWidget *fontchooser) /* Set the upper values of the spin/scale with G_MAXINT / PANGO_SCALE */ gtk_spin_button_set_range (GTK_SPIN_BUTTON (priv->size_spin), - 0.0, (gdouble)(G_MAXINT / PANGO_SCALE)); + 1.0, (gdouble)(G_MAXINT / PANGO_SCALE)); gtk_adjustment_set_upper (gtk_range_get_adjustment (GTK_RANGE (priv->size_slider)), (gdouble)(G_MAXINT / PANGO_SCALE)); |