Search
j0ke.net Open Build Service
>
Projects
>
devel
:
libs
>
gtk-vnc
> gtk-vnc-0.3.4-scaling-crash.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File gtk-vnc-0.3.4-scaling-crash.patch of Package gtk-vnc
diff -r 02bc30c3e8f6 src/vncdisplay.c --- a/src/vncdisplay.c Wed Mar 05 19:21:36 2008 -0600 +++ b/src/vncdisplay.c Thu Mar 06 17:50:12 2008 -0500 @@ -1084,6 +1084,12 @@ static gboolean configure_event(GtkWidge static gboolean configure_event(GtkWidget *widget, GdkEventConfigure *configure, gpointer data G_GNUC_UNUSED) { + VncDisplay *obj = VNC_DISPLAY(widget); + VncDisplayPrivate *priv = obj->priv; + + if (priv->fb.data == NULL) + return FALSE; + rescale_display(VNC_DISPLAY(widget), configure->width, configure->height);