summaryrefslogtreecommitdiff
path: root/frontends/gtk/scaffolding.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-08-04 23:41:22 +0100
committerVincent Sanders <vince@kyllikki.org>2016-08-04 23:41:22 +0100
commit189b7b45fb9805d1beae9506cac2c001bd680470 (patch)
tree96d184587369fd4d0968ff4e0bae4ca0055a1fa9 /frontends/gtk/scaffolding.c
parent73b81a59ccaf09f695a643eae06fb510ec4559b4 (diff)
downloadnetsurf-189b7b45fb9805d1beae9506cac2c001bd680470.tar.gz
netsurf-189b7b45fb9805d1beae9506cac2c001bd680470.tar.bz2
convert GTK global history to use GTK core window
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;
}