From c5e41cdfa62232dfbc344c44dc97ceacab5776e7 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Mon, 19 Apr 2004 22:22:26 +0000 Subject: [PATCH] removed unused return locations for menu item pointers. 2004-04-20 Sven Neumann * plug-ins/gfig/gfig.c: removed unused return locations for menu item pointers. --- ChangeLog | 5 +++++ plug-ins/gfig/gfig.c | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6832cd5ac9..92062df69a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-04-20 Sven Neumann + + * plug-ins/gfig/gfig.c: removed unused return locations for menu + item pointers. + 2004-04-19 Sven Neumann * configure.in: set gimp_plugin_version, gimp_sysconf_version and diff --git a/plug-ins/gfig/gfig.c b/plug-ins/gfig/gfig.c index aa23862d35..4d410a8eb6 100644 --- a/plug-ins/gfig/gfig.c +++ b/plug-ins/gfig/gfig.c @@ -2011,7 +2011,6 @@ paint_page (void) GtkWidget *page_menu_type; GtkWidget *scale_scale; GtkObject *scale_scale_data; - GtkWidget *item1, *item2, *item3; vbox = gtk_vbox_new (FALSE, 0); gtk_container_set_border_width (GTK_CONTAINER (vbox), 4); @@ -2045,9 +2044,9 @@ paint_page (void) gimp_int_option_menu_new (FALSE, G_CALLBACK (paint_menu_callback), GINT_TO_POINTER (PAINT_TYPE_MENU), 0, - _("Brush"), PAINT_BRUSH_TYPE, &item1, - _("Selection"), PAINT_SELECTION_TYPE, &item2, - _("Selection+Fill"), PAINT_SELECTION_FILL_TYPE, &item3, + _("Brush"), PAINT_BRUSH_TYPE, NULL, + _("Selection"), PAINT_SELECTION_TYPE, NULL, + _("Selection+Fill"), PAINT_SELECTION_FILL_TYPE, NULL, NULL);