summaryrefslogtreecommitdiff
path: root/frontends/gtk/scaffolding.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/gtk/scaffolding.c')
-rw-r--r--frontends/gtk/scaffolding.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/frontends/gtk/scaffolding.c b/frontends/gtk/scaffolding.c
index 811c84444..3c47b4df1 100644
--- a/frontends/gtk/scaffolding.c
+++ b/frontends/gtk/scaffolding.c
@@ -1496,9 +1496,11 @@ MULTIHANDLER(localhistory)
MULTIHANDLER(globalhistory)
{
- gtk_widget_show(GTK_WIDGET(wndHistory));
- gdk_window_raise(nsgtk_widget_get_window(GTK_WIDGET(wndHistory)));
-
+ nserror res;
+ res = nsgtk_global_history_present();
+ if (res != NSERROR_OK) {
+ LOG("Unable to initialise global history window.");
+ }
return TRUE;
}