about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorElias Norberg <xyzzy@kudzu.se>2012-03-26 15:32:16 +0200
committerElias Norberg <xyzzy@kudzu.se>2012-03-26 15:32:16 +0200
commit96f4ede3dc459a55a5ca02501a48e655ff6bd1ca (patch)
tree2949a46d78778e5263d10430c82f39cbc3eab05f
parent5ec1e05aabe2ffa56a431851e853cdd7fc6fd742 (diff)
downloadxombrero-96f4ede3dc459a55a5ca02501a48e655ff6bd1ca.tar.gz
Fix bug were opening the inspector overwrote pointers in tablist
-rw-r--r--inspector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inspector.c b/inspector.c
index 95db236..d2d7889 100644
--- a/inspector.c
+++ b/inspector.c
@@ -79,7 +79,7 @@ inspector_show_window(WebKitWebInspector *inspector, struct tab *t)
 	DNPRINTF(XT_D_INSPECTOR, "%s: tab %d\n", __func__, t->tab_id);
 
 	if (t->inspector_window) {
-		g_signal_emit_by_name(inspector, "attach-window", t);
+		g_signal_emit_by_name(inspector, "attach-window", NULL);
 		gtk_widget_show_all(t->inspector_window);
 		gtk_window_present(GTK_WINDOW(t->inspector_window));
 		return (TRUE); /* handled */