vinagre r457 - in trunk: . src
- From: jwendell svn gnome org
- To: svn-commits-list gnome org
- Subject: vinagre r457 - in trunk: . src
- Date: Mon, 8 Sep 2008 18:06:48 +0000 (UTC)
Author: jwendell
Date: Mon Sep 8 18:06:48 2008
New Revision: 457
URL: http://svn.gnome.org/viewvc/vinagre?rev=457&view=rev
Log:
2008-09-08 Jonh Wendell <jwendell gnome org>
* configure.ac: bump gtk-vnc dependency to 0.3.7
* src/vinagre-tab.c: Removed ugly hacks related to key press. New
gtk-vnc handles this correctly.
Modified:
trunk/ChangeLog
trunk/configure.ac
trunk/src/vinagre-tab.c
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Mon Sep 8 18:06:48 2008
@@ -38,7 +38,7 @@
LIBGLADE_REQUIRED=2.6.0
GCONF_REQUIRED=2.16.0
GTHREAD_REQUIRED=2.0.0
-GTK_VNC_REQUIRED=0.3.6
+GTK_VNC_REQUIRED=0.3.7
AVAHI_REQUIRED=0.6.22
PANEL_REQUIRED_VERSION=2.0.0
Modified: trunk/src/vinagre-tab.c
==============================================================================
--- trunk/src/vinagre-tab.c (original)
+++ trunk/src/vinagre-tab.c Mon Sep 8 18:06:48 2008
@@ -615,22 +615,6 @@
gdk_window_beep (GTK_WIDGET (tab->priv->window)->window);
}
-static gboolean
-vnc_key_event ( GtkWidget *widget G_GNUC_UNUSED,
- GdkEventKey *key G_GNUC_UNUSED,
- gpointer data G_GNUC_UNUSED)
-{
- return TRUE;
-}
-
-static gboolean
-vnc_scroll_event (GtkWidget *widget G_GNUC_UNUSED,
- GdkEventScroll *scroll G_GNUC_UNUSED,
- gpointer data G_GNUC_UNUSED)
-{
- return TRUE;
-}
-
static void
close_button_clicked (GtkToolButton *button,
VinagreTab *tab)
@@ -847,21 +831,6 @@
G_CALLBACK (vnc_bell_cb),
tab);
- g_signal_connect (tab->priv->vnc,
- "key-press-event",
- G_CALLBACK (vnc_key_event),
- NULL);
-
- g_signal_connect (tab->priv->vnc,
- "key-release-event",
- G_CALLBACK (vnc_key_event),
- NULL);
-
- g_signal_connect (tab->priv->vnc,
- "scroll-event",
- G_CALLBACK (vnc_scroll_event),
- NULL);
-
setup_layout (tab);
gtk_box_pack_end (GTK_BOX(tab), tab->priv->layout, TRUE, TRUE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]