vinagre r134 - trunk/src
- From: jwendell svn gnome org
- To: svn-commits-list gnome org
- Subject: vinagre r134 - trunk/src
- Date: Wed, 16 Jan 2008 19:55:47 +0000 (GMT)
Author: jwendell
Date: Wed Jan 16 19:55:47 2008
New Revision: 134
URL: http://svn.gnome.org/viewvc/vinagre?rev=134&view=rev
Log:
Fix a 'FIXME'
Modified:
trunk/src/vinagre-tab.c
Modified: trunk/src/vinagre-tab.c
==============================================================================
--- trunk/src/vinagre-tab.c (original)
+++ trunk/src/vinagre-tab.c Wed Jan 16 19:55:47 2008
@@ -241,7 +241,7 @@
g_type_class_add_private (object_class, sizeof (VinagreTabPrivate));
}
-static gboolean
+static void
open_vnc (VinagreTab *tab)
{
gchar *port;
@@ -259,7 +259,6 @@
g_free (port);
gtk_widget_grab_focus (tab->priv->vnc);
- return FALSE;
}
static void
@@ -655,12 +654,6 @@
G_CALLBACK (vnc_bell_cb),
tab);
- /* connect VNC */
- /* FIXME: i had to add a timeout because private conn is not available at this time*/
- g_timeout_add (1000,
- (GSourceFunc) open_vnc,
- tab);
-
gtk_widget_show_all (GTK_WIDGET (tab));
}
@@ -671,6 +664,7 @@
"conn", conn,
"window", window,
NULL);
+ open_vnc (tab);
return GTK_WIDGET (tab);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]