diff options
author | Jörg Mayer <jmayer@loplof.de> | 2012-07-17 14:52:42 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2012-07-17 14:52:42 +0000 |
commit | 83a22a220a3fe03a3461567e2dc42706359b7e9f (patch) | |
tree | c7053768e21527d9bf7283e6b14ca027a36033d1 | |
parent | 6bd20171efe922797c08502553f83f508b1bf6b6 (diff) | |
download | wireshark-83a22a220a3fe03a3461567e2dc42706359b7e9f.tar.gz |
Now it compiles with 2.24 - hopefuly it will even work
svn path=/trunk/; revision=43767
-rw-r--r-- | ui/gtk/bytes_view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/bytes_view.c b/ui/gtk/bytes_view.c index 056175cb2c..248e1f3749 100644 --- a/ui/gtk/bytes_view.c +++ b/ui/gtk/bytes_view.c @@ -758,8 +758,8 @@ bytes_view_render(BytesView *bv, cairo_t *cr, GdkRectangle *area) height = gtk_widget_get_allocated_height(GTK_WIDGET(bv)); #else # if GTK_CHECK_VERSION(2,24,0) - width = gdk_window_get_width(GTK_WIDGET(bv)); - height = gdk_window_get_height (GTK_WIDGET(bv)); + width = gdk_window_get_width(gtk_widget_get_window(GTK_WIDGET(bv))); + height = gdk_window_get_height(gtk_widget_get_window(GTK_WIDGET(bv))); # else gdk_drawable_get_size(gtk_widget_get_window(GTK_WIDGET(bv)), &width, &height); # endif |