aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/expert_comp_dlg.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2011-07-21 20:12:08 +0000
committerJörg Mayer <jmayer@loplof.de>2011-07-21 20:12:08 +0000
commitbb7650f70d34a70c4a5530e5d1e0739228b4aca0 (patch)
treef94b8ec5f4d49b6a6446d11f3ecc9af06127cca1 /gtk/expert_comp_dlg.c
parentf161dc95fa963b122aa476dd7be5e0275433558c (diff)
Fix almost all accesses to ->window
svn path=/trunk/; revision=38151
Diffstat (limited to 'gtk/expert_comp_dlg.c')
-rw-r--r--gtk/expert_comp_dlg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/expert_comp_dlg.c b/gtk/expert_comp_dlg.c
index d3f79ef02f..2b4441479d 100644
--- a/gtk/expert_comp_dlg.c
+++ b/gtk/expert_comp_dlg.c
@@ -52,6 +52,7 @@
#include "gtk/main_proto_draw.h"
+#include "gtk/old-gtk-compat.h"
enum
{
@@ -767,7 +768,7 @@ expert_comp_init(const char *optarg _U_, void* userdata _U_)
/* This will bring up the progress bar
* Put our window back in front
*/
- gdk_window_raise(ss->win->window);
+ gdk_window_raise(gtk_widget_get_window(ss->win));
/* Set the lable text */
expert_comp_draw(ss);
}