Commit 70e52e34 authored by EDT 1998 Adrian Likins's avatar EDT 1998 Adrian Likins Committed by Adrian Likins
Browse files

fixed a typo that wouldnt let you create images smaller than 1 unit

Fri Sep 11 11:15:17 EDT 1998 Adrian Likins <adrian@gimp.org>

        * app/file_new_dialog.c: fixed a typo that wouldnt let
	        you create images smaller than 1 unit

-adrian
parent 546b225e
Fri Sep 11 11:15:17 EDT 1998 Adrian Likins <adrian@gimp.org>
* app/file_new_dialog.c: fixed a typo that wouldnt let
you create images smaller than 1 unit
1998-09-11 Tristan Tarrant <ttarrant@etnoteam.it>
* po/it.po: New file with Italian translations (some).
......
......@@ -551,7 +551,7 @@ file_new_cmd_callback (GtkWidget *widget,
/* width in units spinbutton */
temp = (float) vals->width / vals->resolution;
adj = (GtkAdjustment *) gtk_adjustment_new (temp, 1.0, 32767.0,
adj = (GtkAdjustment *) gtk_adjustment_new (temp, 0.0, 32767.0,
1.0, 0.01, 0.0);
vals->width_units_spinbutton = gtk_spin_button_new (adj, 1.0, 2.0);
gtk_spin_button_set_update_policy (GTK_SPIN_BUTTON(vals->width_units_spinbutton), GTK_UPDATE_ALWAYS
......@@ -567,7 +567,7 @@ file_new_cmd_callback (GtkWidget *widget,
/* height in units spinbutton */
temp = (float) vals->height / vals->resolution;
adj = (GtkAdjustment *) gtk_adjustment_new (temp, 1.0, 32767.0,
adj = (GtkAdjustment *) gtk_adjustment_new (temp, 0.0, 32767.0,
1.0, 0.01, 0.0);
vals->height_units_spinbutton = gtk_spin_button_new (adj, 1.0, 2.0);
gtk_spin_button_set_update_policy (GTK_SPIN_BUTTON(vals->height_units_spinbutton), GTK_UPDATE_ALWAYS |
......
......@@ -551,7 +551,7 @@ file_new_cmd_callback (GtkWidget *widget,
/* width in units spinbutton */
temp = (float) vals->width / vals->resolution;
adj = (GtkAdjustment *) gtk_adjustment_new (temp, 1.0, 32767.0,
adj = (GtkAdjustment *) gtk_adjustment_new (temp, 0.0, 32767.0,
1.0, 0.01, 0.0);
vals->width_units_spinbutton = gtk_spin_button_new (adj, 1.0, 2.0);
gtk_spin_button_set_update_policy (GTK_SPIN_BUTTON(vals->width_units_spinbutton), GTK_UPDATE_ALWAYS
......@@ -567,7 +567,7 @@ file_new_cmd_callback (GtkWidget *widget,
/* height in units spinbutton */
temp = (float) vals->height / vals->resolution;
adj = (GtkAdjustment *) gtk_adjustment_new (temp, 1.0, 32767.0,
adj = (GtkAdjustment *) gtk_adjustment_new (temp, 0.0, 32767.0,
1.0, 0.01, 0.0);
vals->height_units_spinbutton = gtk_spin_button_new (adj, 1.0, 2.0);
gtk_spin_button_set_update_policy (GTK_SPIN_BUTTON(vals->height_units_spinbutton), GTK_UPDATE_ALWAYS |
......
......@@ -551,7 +551,7 @@ file_new_cmd_callback (GtkWidget *widget,
/* width in units spinbutton */
temp = (float) vals->width / vals->resolution;
adj = (GtkAdjustment *) gtk_adjustment_new (temp, 1.0, 32767.0,
adj = (GtkAdjustment *) gtk_adjustment_new (temp, 0.0, 32767.0,
1.0, 0.01, 0.0);
vals->width_units_spinbutton = gtk_spin_button_new (adj, 1.0, 2.0);
gtk_spin_button_set_update_policy (GTK_SPIN_BUTTON(vals->width_units_spinbutton), GTK_UPDATE_ALWAYS
......@@ -567,7 +567,7 @@ file_new_cmd_callback (GtkWidget *widget,
/* height in units spinbutton */
temp = (float) vals->height / vals->resolution;
adj = (GtkAdjustment *) gtk_adjustment_new (temp, 1.0, 32767.0,
adj = (GtkAdjustment *) gtk_adjustment_new (temp, 0.0, 32767.0,
1.0, 0.01, 0.0);
vals->height_units_spinbutton = gtk_spin_button_new (adj, 1.0, 2.0);
gtk_spin_button_set_update_policy (GTK_SPIN_BUTTON(vals->height_units_spinbutton), GTK_UPDATE_ALWAYS |
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment