[gnome-bluetooth] Fix keyboard not working in the properties window
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] Fix keyboard not working in the properties window
- Date: Tue, 11 Aug 2009 15:10:34 +0000 (UTC)
commit b95f581c6b8b10ef6369f009e8dc88ab75db99ee
Author: Bastien Nocera <hadess hadess net>
Date: Tue Aug 11 16:03:03 2009 +0100
Fix keyboard not working in the properties window
Wrong prototype for the key-press-event callback.
properties/main.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/properties/main.c b/properties/main.c
index 4cf435b..7a93026 100644
--- a/properties/main.c
+++ b/properties/main.c
@@ -51,7 +51,7 @@ static gboolean delete_callback(GtkWidget *window, GdkEvent *event,
return FALSE;
}
-static void
+static gboolean
keypress_callback (GtkWidget *window,
GdkEventKey *key,
gpointer user_data)
@@ -61,6 +61,8 @@ keypress_callback (GtkWidget *window,
gtk_main_quit();
}
+
+ return FALSE;
}
static void close_callback(GtkWidget *button, gpointer user_data)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]