From 89d130020c9abc5e857df9f86b14d5d6bcd00084 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sun, 19 Jun 2011 12:35:06 +0200 Subject: [PATCH] Impostato il default per il pulsante clean in TerritorioWidget. --- src/widget.c | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/src/widget.c b/src/widget.c index 4a692ca..0020b98 100644 --- a/src/widget.c +++ b/src/widget.c @@ -73,35 +73,35 @@ static void territorio_widget_on_privincia_selezionato (gpointer instance, guint static void territorio_widget_on_comune_selezionato (gpointer instance, guint id, gpointer user_data); static void territorio_widget_on_via_selezionato (gpointer instance, guint id, gpointer user_data); -static void territorio_widget_on_btn_stato_clean_clicked (GtkButton *button, +static gboolean territorio_widget_on_btn_stato_clean_clicked (GtkButton *button, gpointer user_data); static void territorio_widget_on_btn_stato_open_clicked (GtkButton *button, gpointer user_data); static void territorio_widget_on_btn_stato_clicked (GtkButton *button, gpointer user_data); -static void territorio_widget_on_btn_regione_clean_clicked (GtkButton *button, +static gboolean territorio_widget_on_btn_regione_clean_clicked (GtkButton *button, gpointer user_data); static void territorio_widget_on_btn_regione_open_clicked (GtkButton *button, gpointer user_data); static void territorio_widget_on_btn_regione_clicked (GtkButton *button, gpointer user_data); -static void territorio_widget_on_btn_provincia_clean_clicked (GtkButton *button, +static gboolean territorio_widget_on_btn_provincia_clean_clicked (GtkButton *button, gpointer user_data); static void territorio_widget_on_btn_provincia_open_clicked (GtkButton *button, gpointer user_data); static void territorio_widget_on_btn_provincia_clicked (GtkButton *button, gpointer user_data); -static void territorio_widget_on_btn_comune_clean_clicked (GtkButton *button, +static gboolean territorio_widget_on_btn_comune_clean_clicked (GtkButton *button, gpointer user_data); static void territorio_widget_on_btn_comune_open_clicked (GtkButton *button, gpointer user_data); static void territorio_widget_on_btn_comune_clicked (GtkButton *button, gpointer user_data); -static void territorio_widget_on_btn_via_clean_clicked (GtkButton *button, +static gboolean territorio_widget_on_btn_via_clean_clicked (GtkButton *button, gpointer user_data); static void territorio_widget_on_btn_via_open_clicked (GtkButton *button, gpointer user_data); @@ -539,11 +539,11 @@ territorio_widget_on_via_selezionato (gpointer instance, guint id, gpointer user gtk_form_decoder_set_key (GTK_FORM_DECODER (priv->dec_via), g_strdup_printf ("%d", id)); } -static void +static gboolean territorio_widget_on_btn_stato_clean_clicked (GtkButton *button, gpointer user_data) { - + return FALSE; } static void @@ -589,10 +589,11 @@ territorio_widget_on_btn_stato_clicked (GtkButton *button, gtk_widget_show (w); } -static void +static gboolean territorio_widget_on_btn_regione_clean_clicked (GtkButton *button, gpointer user_data) { + return FALSE; } static void @@ -638,10 +639,11 @@ territorio_widget_on_btn_regione_clicked (GtkButton *button, gtk_widget_show (w); } -static void +static gboolean territorio_widget_on_btn_provincia_clean_clicked (GtkButton *button, gpointer user_data) { + return FALSE; } static void @@ -687,10 +689,11 @@ territorio_widget_on_btn_provincia_clicked (GtkButton *button, gtk_widget_show (w); } -static void +static gboolean territorio_widget_on_btn_comune_clean_clicked (GtkButton *button, gpointer user_data) { + return FALSE; } static void @@ -736,10 +739,11 @@ territorio_widget_on_btn_comune_clicked (GtkButton *button, gtk_widget_show (w); } -static void +static gboolean territorio_widget_on_btn_via_clean_clicked (GtkButton *button, gpointer user_data) { + return FALSE; } static void -- 2.49.0