From b047f6aa506602910cccc2e81335dd6d5a88fd6c Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 27 Oct 2004 20:10:34 +0000 Subject: Correctly change the statusbar children's frams's shadow type when the 2004-10-27 Christian Persch * src/ephy-statusbar.c: (sync_shadow_type), (ephy_statusbar_init): Correctly change the statusbar children's frams's shadow type when the statusbar shadow type changes. --- src/ephy-statusbar.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ephy-statusbar.c') diff --git a/src/ephy-statusbar.c b/src/ephy-statusbar.c index 033a1d28c..2ff4a5e30 100755 --- a/src/ephy-statusbar.c +++ b/src/ephy-statusbar.c @@ -162,7 +162,7 @@ create_statusbar_progress (EphyStatusbar *s) static void sync_shadow_type (EphyStatusbar *statusbar, - GParamSpec *pspec, + GtkStyle *previous_style, gpointer dummy) { GtkShadowType shadow; @@ -206,8 +206,7 @@ ephy_statusbar_init (EphyStatusbar *t) /* FIXME: is this the right way ? */ sync_shadow_type (t, NULL, NULL); - g_signal_connect (t, "notify::shadow-type", - G_CALLBACK (sync_shadow_type), NULL); + g_signal_connect (t, "style-set", G_CALLBACK (sync_shadow_type), NULL); } static void -- cgit v1.2.3