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

argh, s/snprintf/g_snprintf

Mon Jul 13 22:00:31 EDT 1998 Adrian Likins <adrian@gimp.org>

        * app/rect_select.c : argh, s/snprintf/g_snprintf

-adrian
parent 72be9471
Mon Jul 13 22:00:31 EDT 1998 Adrian Likins <adrian@gimp.org>
* app/rect_select.c : argh, s/snprintf/g_snprintf
Mon Jul 13 19:07:43 EDT 1998 Adrian Likins <adrian@gimp.org>
* app/drawable.c app/commands.c app/gimpimage.h
......
......@@ -202,7 +202,7 @@ create_selection_options (ToolType tool_type)
fixed_width_entry = gtk_entry_new();
gtk_box_pack_start(GTK_BOX(hbox), fixed_width_entry, FALSE, FALSE, 0);
gtk_widget_set_usize(fixed_width_entry, FIXED_ENTRY_SIZE, 0);
snprintf(buffer, FIXED_ENTRY_MAX_CHARS, "%i", options->fixed_width);
g_snprintf(buffer, FIXED_ENTRY_MAX_CHARS, "%i", options->fixed_width);
gtk_entry_set_text(GTK_ENTRY(fixed_width_entry), buffer);
gtk_signal_connect(GTK_OBJECT(fixed_width_entry), "changed",
(GtkSignalFunc)selection_entry_update,
......@@ -218,7 +218,7 @@ create_selection_options (ToolType tool_type)
fixed_height_entry = gtk_entry_new();
gtk_box_pack_start(GTK_BOX(hbox), fixed_height_entry, FALSE, FALSE, 0);
gtk_widget_set_usize(fixed_height_entry, FIXED_ENTRY_SIZE, 0);
snprintf(buffer, FIXED_ENTRY_MAX_CHARS, "%i", options->fixed_height);
g_snprintf(buffer, FIXED_ENTRY_MAX_CHARS, "%i", options->fixed_height);
gtk_entry_set_text(GTK_ENTRY(fixed_height_entry), buffer);
gtk_signal_connect(GTK_OBJECT(fixed_height_entry), "changed",
(GtkSignalFunc)selection_entry_update,
......
......@@ -202,7 +202,7 @@ create_selection_options (ToolType tool_type)
fixed_width_entry = gtk_entry_new();
gtk_box_pack_start(GTK_BOX(hbox), fixed_width_entry, FALSE, FALSE, 0);
gtk_widget_set_usize(fixed_width_entry, FIXED_ENTRY_SIZE, 0);
snprintf(buffer, FIXED_ENTRY_MAX_CHARS, "%i", options->fixed_width);
g_snprintf(buffer, FIXED_ENTRY_MAX_CHARS, "%i", options->fixed_width);
gtk_entry_set_text(GTK_ENTRY(fixed_width_entry), buffer);
gtk_signal_connect(GTK_OBJECT(fixed_width_entry), "changed",
(GtkSignalFunc)selection_entry_update,
......@@ -218,7 +218,7 @@ create_selection_options (ToolType tool_type)
fixed_height_entry = gtk_entry_new();
gtk_box_pack_start(GTK_BOX(hbox), fixed_height_entry, FALSE, FALSE, 0);
gtk_widget_set_usize(fixed_height_entry, FIXED_ENTRY_SIZE, 0);
snprintf(buffer, FIXED_ENTRY_MAX_CHARS, "%i", options->fixed_height);
g_snprintf(buffer, FIXED_ENTRY_MAX_CHARS, "%i", options->fixed_height);
gtk_entry_set_text(GTK_ENTRY(fixed_height_entry), buffer);
gtk_signal_connect(GTK_OBJECT(fixed_height_entry), "changed",
(GtkSignalFunc)selection_entry_update,
......
......@@ -202,7 +202,7 @@ create_selection_options (ToolType tool_type)
fixed_width_entry = gtk_entry_new();
gtk_box_pack_start(GTK_BOX(hbox), fixed_width_entry, FALSE, FALSE, 0);
gtk_widget_set_usize(fixed_width_entry, FIXED_ENTRY_SIZE, 0);
snprintf(buffer, FIXED_ENTRY_MAX_CHARS, "%i", options->fixed_width);
g_snprintf(buffer, FIXED_ENTRY_MAX_CHARS, "%i", options->fixed_width);
gtk_entry_set_text(GTK_ENTRY(fixed_width_entry), buffer);
gtk_signal_connect(GTK_OBJECT(fixed_width_entry), "changed",
(GtkSignalFunc)selection_entry_update,
......@@ -218,7 +218,7 @@ create_selection_options (ToolType tool_type)
fixed_height_entry = gtk_entry_new();
gtk_box_pack_start(GTK_BOX(hbox), fixed_height_entry, FALSE, FALSE, 0);
gtk_widget_set_usize(fixed_height_entry, FIXED_ENTRY_SIZE, 0);
snprintf(buffer, FIXED_ENTRY_MAX_CHARS, "%i", options->fixed_height);
g_snprintf(buffer, FIXED_ENTRY_MAX_CHARS, "%i", options->fixed_height);
gtk_entry_set_text(GTK_ENTRY(fixed_height_entry), buffer);
gtk_signal_connect(GTK_OBJECT(fixed_height_entry), "changed",
(GtkSignalFunc)selection_entry_update,
......
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