From 98fcbbdb2ea2ec36d0e3efadc1500c1de05fdc50 Mon Sep 17 00:00:00 2001 From: Guilhem Bonnefille Date: Thu, 30 Aug 2007 13:08:20 +0000 Subject: [PATCH] QA: Remove warnings --- src/viktrwlayer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/viktrwlayer.c b/src/viktrwlayer.c index 3407f9a..c824c24 100644 --- a/src/viktrwlayer.c +++ b/src/viktrwlayer.c @@ -1592,7 +1592,7 @@ void vik_trw_layer_add_menu_items ( VikTrwLayer *vtl, GtkMenu *menu, gpointer vl { static gpointer pass_along[2]; GtkWidget *item; - GtkMenu *export_submenu; + GtkWidget *export_submenu; pass_along[0] = vtl; pass_along[1] = vlp; @@ -1614,7 +1614,7 @@ void vik_trw_layer_add_menu_items ( VikTrwLayer *vtl, GtkMenu *menu, gpointer vl item = gtk_menu_item_new_with_label ( "Export layer" ); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); gtk_widget_show ( item ); - gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), export_submenu); + gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), export_submenu ); item = gtk_menu_item_new_with_label ( "Export as GPSPoint" ); g_signal_connect_swapped ( G_OBJECT(item), "activate", G_CALLBACK(trw_layer_export_gpspoint), pass_along ); -- 2.11.4.GIT