[gnome-bluetooth] Remove unused button variable in applet
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] Remove unused button variable in applet
- Date: Sat, 19 Sep 2009 14:53:29 +0000 (UTC)
commit f0d6ac041df311f5434e34bae130f3afa86d900d
Author: Bastien Nocera <hadess hadess net>
Date: Thu Sep 17 17:44:35 2009 +0100
Remove unused button variable in applet
https://bugzilla.gnome.org/show_bug.cgi?id=595486
applet/main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/applet/main.c b/applet/main.c
index c9800e7..ebd1b9c 100644
--- a/applet/main.c
+++ b/applet/main.c
@@ -106,14 +106,14 @@ void browse_callback(GObject *widget, gpointer user_data)
address = g_strdup (g_object_get_data (widget, "address"));
if (address == NULL) {
- GtkWidget *dialog, *selector, *button;
+ GtkWidget *dialog, *selector;
int response_id;
dialog = gtk_dialog_new_with_buttons(_("Select Device to Browse"), NULL,
GTK_DIALOG_NO_SEPARATOR,
GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT,
NULL);
- button = gtk_dialog_add_button (GTK_DIALOG (dialog), _("_Browse"), GTK_RESPONSE_ACCEPT);
+ gtk_dialog_add_button (GTK_DIALOG (dialog), _("_Browse"), GTK_RESPONSE_ACCEPT);
gtk_dialog_set_response_sensitive(GTK_DIALOG(dialog),
GTK_RESPONSE_ACCEPT, FALSE);
gtk_window_set_default_size(GTK_WINDOW(dialog), 480, 400);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]