[vinagre] Fix some pointer type mismatch warnings
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vinagre] Fix some pointer type mismatch warnings
- Date: Sat, 17 Dec 2011 22:13:49 +0000 (UTC)
commit fd8fcf148ec61f4aa26c8aa710ffa5f7b8f56dd4
Author: David King <amigadave amigadave com>
Date: Sat Dec 17 23:02:49 2011 +0100
Fix some pointer type mismatch warnings
vinagre/vinagre-connect.c | 2 +-
vinagre/vinagre-tube-handler.c | 3 ++-
vinagre/vinagre-window.c | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/vinagre/vinagre-connect.c b/vinagre/vinagre-connect.c
index 038a87b..388bf15 100644
--- a/vinagre/vinagre-connect.c
+++ b/vinagre/vinagre-connect.c
@@ -436,7 +436,7 @@ vinagre_connect (VinagreWindow *window)
if (result == GTK_RESPONSE_HELP)
{
- vinagre_utils_show_help (window, "connect");
+ vinagre_utils_show_help (GTK_WINDOW (window), "connect");
}
else if (result == GTK_RESPONSE_OK)
{
diff --git a/vinagre/vinagre-tube-handler.c b/vinagre/vinagre-tube-handler.c
index 2116df8..291d4d6 100644
--- a/vinagre/vinagre-tube-handler.c
+++ b/vinagre/vinagre-tube-handler.c
@@ -288,7 +288,8 @@ vinagre_tube_handler_call_service_cb (TpProxy *channel,
tp_conn = tp_channel_borrow_connection ((TpChannel *) channel);
if (!tp_strdiff (tp_connection_get_protocol_name (tp_conn), "jabber"))
{
- vinagre_vnc_connection_set_depth_profile (conn, 3);
+ vinagre_vnc_connection_set_depth_profile (VINAGRE_VNC_CONNECTION (conn),
+ 3);
}
g_free (host);
diff --git a/vinagre/vinagre-window.c b/vinagre/vinagre-window.c
index 8cb98d1..20ef4f5 100644
--- a/vinagre/vinagre-window.c
+++ b/vinagre/vinagre-window.c
@@ -732,7 +732,7 @@ _init_reverse_connections (VinagreWindow *window)
static void
_on_infobar_response (GtkInfoBar *infobar, gint response_id, gpointer user_data)
{
- VinagreWindow *window = VINAGRE_WINDOW (user_data);
+ GtkWindow *window = GTK_WINDOW (user_data);
switch (response_id)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]