diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-12-14 05:37:42 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-12-14 05:37:42 +0800 |
commit | 28d91fc5baa0120da19eb59513c9118898ee2396 (patch) | |
tree | 778d08511512eaa7db0e1ec189f1ca77215cf6d2 | |
parent | 9b633f92abdd89bedd5b7bb9912bd8e78c68f021 (diff) | |
download | gsoc2013-epiphany-28d91fc5baa0120da19eb59513c9118898ee2396.tar gsoc2013-epiphany-28d91fc5baa0120da19eb59513c9118898ee2396.tar.gz gsoc2013-epiphany-28d91fc5baa0120da19eb59513c9118898ee2396.tar.bz2 gsoc2013-epiphany-28d91fc5baa0120da19eb59513c9118898ee2396.tar.lz gsoc2013-epiphany-28d91fc5baa0120da19eb59513c9118898ee2396.tar.xz gsoc2013-epiphany-28d91fc5baa0120da19eb59513c9118898ee2396.tar.zst gsoc2013-epiphany-28d91fc5baa0120da19eb59513c9118898ee2396.zip |
Use g_signal_connect_object so the signal isn't emitted for a dead
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.
-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; |