[gnome-bluetooth] Fix some function prototypes



commit 9fbcfcd45d054dd91edc1adc536206f95e69daf3
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jun 16 16:41:35 2009 +0100

    Fix some function prototypes

 lib/bluetooth-chooser.c |    2 +-
 lib/bluetooth-chooser.h |   10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/lib/bluetooth-chooser.c b/lib/bluetooth-chooser.c
index 5ad9525..80ccfaf 100644
--- a/lib/bluetooth-chooser.c
+++ b/lib/bluetooth-chooser.c
@@ -404,7 +404,7 @@ static void
 select_browse_device_callback (GtkTreeSelection *selection, gpointer user_data)
 {
 	BluetoothChooser *self = user_data;
-	gchar *address;
+	char *address;
 
 	g_object_notify (G_OBJECT(self), "device-selected");
 	address = bluetooth_chooser_get_selected_device (self);
diff --git a/lib/bluetooth-chooser.h b/lib/bluetooth-chooser.h
index e9efff0..d1bbf54 100644
--- a/lib/bluetooth-chooser.h
+++ b/lib/bluetooth-chooser.h
@@ -52,21 +52,21 @@ struct _BluetoothChooser {
 struct _BluetoothChooserClass {
 	GtkVBoxClass parent_class;
 
-	void (*selected_device_changed) (BluetoothChooser *self, gchar *device);
+	void (*selected_device_changed) (BluetoothChooser *self, const char *device);
 };
 
 GType bluetooth_chooser_get_type (void);
 
-GtkWidget *bluetooth_chooser_new (const gchar *title);
+GtkWidget *bluetooth_chooser_new (const char *title);
 
 void bluetooth_chooser_set_title (BluetoothChooser  *self, const char *title);
 
-gchar *bluetooth_chooser_get_selected_device (BluetoothChooser *self);
+char *bluetooth_chooser_get_selected_device (BluetoothChooser *self);
 gboolean bluetooth_chooser_get_selected_device_info (BluetoothChooser *self,
 						     const char *info,
 						     GValue *value);
-gchar *bluetooth_chooser_get_selected_device_name (BluetoothChooser *self);
-gchar * bluetooth_chooser_get_selected_device_icon (BluetoothChooser *self);
+char *bluetooth_chooser_get_selected_device_name (BluetoothChooser *self);
+char * bluetooth_chooser_get_selected_device_icon (BluetoothChooser *self);
 BluetoothType bluetooth_chooser_get_selected_device_type (BluetoothChooser *self);
 gboolean bluetooth_chooser_get_selected_device_is_connected (BluetoothChooser *self);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]