[Spice-commits] src/spicy.c
Pavel Grunt
pgrunt at kemper.freedesktop.org
Wed Mar 23 16:17:16 UTC 2016
src/spicy.c | 18 ------------------
1 file changed, 18 deletions(-)
New commits:
commit a8974ed4ce31357ad1077738c97a33213c0e8f21
Author: Pavel Grunt <pgrunt at redhat.com>
Date: Wed Mar 23 17:06:21 2016 +0100
spicy: Remove configure-event callback
It is a leftover - see "Remove GnomeRR code"
commit 30986505ba6041c293c38cb4b7f4b618a59f4716
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
Acked-by: Marc-André Lureau <mlureau at redhat.com>
diff --git a/src/spicy.c b/src/spicy.c
index 6ca014b..ca9db84 100644
--- a/src/spicy.c
+++ b/src/spicy.c
@@ -878,23 +878,6 @@ static void recent_item_activated_cb(GtkRecentChooser *chooser, gpointer data)
connection_connect(conn);
}
-static gboolean configure_event_cb(GtkWidget *widget,
- GdkEventConfigure *event,
- gpointer data)
-{
- gboolean resize_guest;
- SpiceWindow *win = data;
-
- g_return_val_if_fail(win != NULL, FALSE);
- g_return_val_if_fail(win->conn != NULL, FALSE);
-
- g_object_get(win->spice, "resize-guest", &resize_guest, NULL);
- if (resize_guest && win->conn->agent_connected)
- return FALSE;
-
- return FALSE;
-}
-
static void compression_cb(GtkRadioAction *action G_GNUC_UNUSED,
GtkRadioAction *current,
gpointer user_data)
@@ -988,7 +971,6 @@ static SpiceWindow *create_spice_window(spice_connection *conn, SpiceChannel *ch
/* spice display */
win->spice = GTK_WIDGET(spice_display_new_with_monitor(conn->session, id, monitor_id));
- g_signal_connect(win->spice, "configure-event", G_CALLBACK(configure_event_cb), win);
seq = spice_grab_sequence_new_from_string("Shift_L+F12");
spice_display_set_grab_keys(SPICE_DISPLAY(win->spice), seq);
spice_grab_sequence_free(seq);
More information about the Spice-commits
mailing list