aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/mtp3_stat.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/mtp3_stat.c
parentf161dc95fa963b122aa476dd7be5e0275433558c (diff)
Fix almost all accesses to ->window
svn path=/trunk/; revision=38151
Diffstat (limited to 'gtk/mtp3_stat.c')
-rw-r--r--gtk/mtp3_stat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/mtp3_stat.c b/gtk/mtp3_stat.c
index 65aede475d..fefc6ef088 100644
--- a/gtk/mtp3_stat.c
+++ b/gtk/mtp3_stat.c
@@ -54,6 +54,7 @@
#include "gtk/gui_utils.h"
#include "gtk/mtp3_stat.h"
+#include "gtk/old-gtk-compat.h"
enum
{
@@ -405,7 +406,7 @@ mtp3_stat_gtk_cb(
*/
if (dlg.win)
{
- gdk_window_raise(dlg.win->window);
+ gdk_window_raise(gtk_widget_get_window(dlg.win));
return;
}