diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | lib/widgets/ephy-spinner.c | 8 |
2 files changed, 11 insertions, 4 deletions
@@ -1,3 +1,10 @@ +2003-12-13 Christian Persch <chpe@cvs.gnome.org> + + * lib/widgets/ephy-spinner.c: (ephy_spinner_init): + + Use g_signal_connect_object so the signal isn't emitted for a dead + spinner. + 2003-12-13 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-tab.c: (update_net_state_message), diff --git a/lib/widgets/ephy-spinner.c b/lib/widgets/ephy-spinner.c index 2e3b17327..23678d150 100644 --- a/lib/widgets/ephy-spinner.c +++ b/lib/widgets/ephy-spinner.c @@ -175,10 +175,10 @@ ephy_spinner_init (EphySpinner *spinner) spinner->details->delay = spinner_DEFAULT_TIMEOUT; /* FIXME: icon theme is per-screen, not global */ spinner->details->icon_theme = gtk_icon_theme_get_default (); - g_signal_connect (spinner->details->icon_theme, - "changed", - G_CALLBACK (ephy_spinner_theme_changed), - spinner); + g_signal_connect_object (spinner->details->icon_theme, + "changed", + G_CALLBACK (ephy_spinner_theme_changed), + spinner, 0); spinner->details->quiescent_pixbuf = NULL; spinner->details->image_list = NULL; |