static gboolean change_location_cb (EphyEmbed *embed, const char *uri, EphyWindow *window) { LOG ("Changing location of window %p to %s\n", window, uri); return FALSE; } static void impl_attach_tab (EphyExtension *ext, EphyWindow *window, EphyTab *tab) { LOG ("attach tab (window %p)", window); g_signal_connect_object (ephy_tab_get_embed (tab), "ge_location", G_CALLBACK (change_location_cb), window, 0); } ------------------------------------------------------------------ prints: attach tab (window 0x82f4ce0) Changing location of window 0x82f4ce0 to about:blank Changing location of window 0x82f4ce0 to myhomepage whenever I open a new window, but prints: attach tab (window 0x82f4ce0) Changing location of window 0x82f4ce0 to myhomepage if I open a new tab.