diff --git a/src/fe-gnome/fe-gnome.c b/src/fe-gnome/fe-gnome.c
index fd32bd9..beadab0 100644
--- a/src/fe-gnome/fe-gnome.c
+++ b/src/fe-gnome/fe-gnome.c
@@ -773,8 +773,12 @@ fe_gui_info (session * sess, int info_type)
 void *
 fe_gui_info_ptr (session *sess, int info_type)
 {
-	return NULL;
-	/* FIXME implement? */
+        switch (info_type)
+        {
+        case 0: /* native window pointer (for plugins) */
+                return GTK_WINDOW (gui.main_window);
+        }
+        return NULL;
 }
 
 void
