gnome-bluetooth/0001-Fix-keyboard-not-working-in-the-properties-window.patch
2009-08-11 15:10:06 +00:00

36 lines
894 B
Diff

From b95f581c6b8b10ef6369f009e8dc88ab75db99ee Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Tue, 11 Aug 2009 16:03:03 +0100
Subject: [PATCH] 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)
--
1.6.2.5