diff options
Diffstat (limited to 'gtk/ldap_stat.c')
-rw-r--r-- | gtk/ldap_stat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/ldap_stat.c b/gtk/ldap_stat.c index 8f235401e8..109019fded 100644 --- a/gtk/ldap_stat.c +++ b/gtk/ldap_stat.c @@ -52,6 +52,7 @@ #include "gtk/gtkglobals.h" #include "gtk/main.h" +#include "gtk/old-gtk-compat.h" /* used to keep track of the statistics for an entire program interface */ typedef struct _ldapstat_t { @@ -232,7 +233,7 @@ gtk_ldapstat_init(const char *optarg, void *userdata _U_) window_present(ldap->win); cf_retap_packets(&cfile); - gdk_window_raise(ldap->win->window); + gdk_window_raise(gtk_widget_get_window(ldap->win)); } static tap_param ldap_stat_params[] = { |