goffice r2288 - in trunk: . goffice/graph
- From: emmanuel svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r2288 - in trunk: . goffice/graph
- Date: Sat, 13 Dec 2008 16:45:48 +0000 (UTC)
Author: emmanuel
Date: Sat Dec 13 16:45:48 2008
New Revision: 2288
URL: http://svn.gnome.org/viewvc/goffice?rev=2288&view=rev
Log:
2008-12-13 Emmanuel Pacaud <emmanuel pacaud lapp in2p3 fr>
Move the style-changed emission after the style have been applied to
the styled object. Makes the new style availabe to the signal
callbacks.
* goffice/graph/gog-styled-object.c (gog_styled_object_set_style):
here.
Modified:
trunk/ChangeLog
trunk/goffice/graph/gog-styled-object.c
Modified: trunk/goffice/graph/gog-styled-object.c
==============================================================================
--- trunk/goffice/graph/gog-styled-object.c (original)
+++ trunk/goffice/graph/gog-styled-object.c Sat Dec 13 16:45:48 2008
@@ -229,11 +229,11 @@
/* which fields are we interested in for this object */
gog_styled_object_apply_theme (gso, style);
- gog_styled_object_style_changed (gso);
resize = gog_style_is_different_size (gso->style, style);
if (gso->style != NULL)
g_object_unref (gso->style);
gso->style = style;
+ gog_styled_object_style_changed (gso);
return resize;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]