app: remove some more -Wunused-but-set-variable

This commit is contained in:
Michael Natterer 2011-05-02 13:53:58 +02:00
parent c4e44dc098
commit 909e7833a3
2 changed files with 1 additions and 7 deletions

View File

@ -1081,10 +1081,7 @@ gimp_rectangle_options_setup_ratio_completion (GimpRectangleOptions *rectangle_o
GtkWidget *entry,
GtkListStore *history)
{
GimpRectangleOptionsPrivate *private;
GtkEntryCompletion *completion;
private = GIMP_RECTANGLE_OPTIONS_GET_PRIVATE (rectangle_options);
GtkEntryCompletion *completion;
completion = g_object_new (GTK_TYPE_ENTRY_COMPLETION,
"model", history,

View File

@ -498,7 +498,6 @@ gimp_template_editor_new (GimpTemplate *template,
GtkWidget *table;
GtkWidget *entry;
GtkWidget *icon_picker;
const gchar *stock_id;
table = gtk_table_new (2, 2, FALSE);
gtk_table_set_col_spacings (GTK_TABLE (table), 6);
@ -513,8 +512,6 @@ gimp_template_editor_new (GimpTemplate *template,
_("_Name:"), 1.0, 0.5,
entry, 1, FALSE);
stock_id = gimp_viewable_get_stock_id (GIMP_VIEWABLE (private->template));
icon_picker = gimp_prop_icon_picker_new (G_OBJECT (private->template),
"stock-id",
gimp);