[gnome-bluetooth] Remove unused functions
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-bluetooth] Remove unused functions
- Date: Fri, 5 Jun 2009 09:07:57 -0400 (EDT)
commit c0b184fa0b3e83c28e9da765dcd0ce95d8a0f36c
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jun 5 09:55:00 2009 +0100
Remove unused functions
We didn't have any notifications for device-selected-name any more,
so remove that old code.
---
wizard/main.c | 8 --------
wizard/wizard.ui | 1 -
2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/wizard/main.c b/wizard/main.c
index ace0805..210e498 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -84,7 +84,6 @@ static GtkWidget *entry_custom = NULL;
void close_callback(GtkWidget *assistant, gpointer data);
void prepare_callback(GtkWidget *assistant, GtkWidget *page, gpointer data);
void select_device_changed(BluetoothChooser *selector, gchar *address, gpointer user_data);
-void device_selected_name_cb (GObject *object, GParamSpec *spec, gpointer user_data);
gboolean entry_custom_event(GtkWidget *entry, GdkEventKey *event);
void set_user_pincode(GtkWidget *button);
void toggle_set_sensitive(GtkWidget *button, gpointer data);
@@ -484,13 +483,6 @@ set_user_pincode(GtkWidget *button)
}
}
-void device_selected_name_cb (GObject *object,
- GParamSpec *spec,
- gpointer user_data)
-{
- set_page_search_complete ();
-}
-
void select_device_changed(BluetoothChooser *selector,
gchar *address,
gpointer user_data)
diff --git a/wizard/wizard.ui b/wizard/wizard.ui
index 9a025ea..f4f220f 100644
--- a/wizard/wizard.ui
+++ b/wizard/wizard.ui
@@ -74,7 +74,6 @@
<property name="show-device-category">False</property>
<property name="visible">True</property>
<signal name="selected-device-changed" handler="select_device_changed"/>
- <signal name="notify::device-selected-name" handler="device_selected_name_cb"/>
</object>
<packing>
<property name="position">0</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]