[gtk-vnc] Chain up to parent vfunc in VncDisplay::realize_event
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] Chain up to parent vfunc in VncDisplay::realize_event
- Date: Fri, 12 Sep 2014 13:25:46 +0000 (UTC)
commit cb2d10e5a3611f287ddf7d1c5fa9ba90c39bb6ce
Author: Christophe Fergeau <cfergeau redhat com>
Date: Fri Sep 12 15:18:35 2014 +0200
Chain up to parent vfunc in VncDisplay::realize_event
Without this, gtk-vnc will abort when establishing a VNC connection.
This regression was introduced in 910c4d40e.
https://bugzilla.gnome.org/show_bug.cgi?id=736560
src/vncdisplay.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/vncdisplay.c b/src/vncdisplay.c
index 6f114a0..9744c19 100644
--- a/src/vncdisplay.c
+++ b/src/vncdisplay.c
@@ -1039,6 +1039,8 @@ static void realize_event(GtkWidget *widget)
VncDisplay *obj = VNC_DISPLAY(widget);
VncDisplayPrivate *priv = obj->priv;
+ GTK_WIDGET_CLASS (vnc_display_parent_class)->realize (widget);
+
gdk_window_set_cursor(gtk_widget_get_window(GTK_WIDGET(obj)),
priv->remote_cursor ? priv->remote_cursor : priv->null_cursor);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]