summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-12-20 12:26:48 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2015-12-20 12:26:48 (GMT)
commita6226170dddc10deb24a3875edd16b69752c5515 (patch)
tree430c432e5d60898dc26f48e9efcd3b7f43460d56 /gtk
parente5ddbd39344c0d9662416723e3f3544d96e0ed9e (diff)
downloadnetsurf-a6226170dddc10deb24a3875edd16b69752c5515.tar.gz
netsurf-a6226170dddc10deb24a3875edd16b69752c5515.tar.bz2
Actually do something with return value.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/tabs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/tabs.c b/gtk/tabs.c
index 0a19236..c28fe5e 100644
--- a/gtk/tabs.c
+++ b/gtk/tabs.c
@@ -153,6 +153,9 @@ nsgtk_tab_switch_page_after(GtkNotebook *notebook,
gw = g_object_get_data(G_OBJECT(srcpage), "gui_window");
if ((gw != NULL) && (nsgtk_get_scaffold(gw) != NULL)) {
error = nsgtk_scaffolding_new_tab(gw);
+ if (error != NSERROR_OK) {
+ LOG("Failed to open new tab.");
+ }
}
}
} else {