aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-07-30 00:02:12 +0800
committerChristian Persch <chpe@src.gnome.org>2004-07-30 00:02:12 +0800
commit44082f6663169c8b09486e2f123cb69c1e539f46 (patch)
tree59141a6cdccac16567ba8094bf237753ae95184b /lib/egg
parent9cb2f185a5b2ddcbbe9b833d9f1915337e03a1b3 (diff)
downloadgsoc2013-epiphany-44082f6663169c8b09486e2f123cb69c1e539f46.tar.gz
gsoc2013-epiphany-44082f6663169c8b09486e2f123cb69c1e539f46.tar.zst
gsoc2013-epiphany-44082f6663169c8b09486e2f123cb69c1e539f46.zip
Fix a call to egg_toolbars_model_set_flags().
2004-07-29 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (parse_toolbars): Fix a call to egg_toolbars_model_set_flags().
Diffstat (limited to 'lib/egg')
-rwxr-xr-xlib/egg/egg-toolbars-model.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/egg/egg-toolbars-model.c b/lib/egg/egg-toolbars-model.c
index 56cbcdb9c..61a5cbc7d 100755
--- a/lib/egg/egg-toolbars-model.c
+++ b/lib/egg/egg-toolbars-model.c
@@ -428,7 +428,8 @@ parse_toolbars (EggToolbarsModel *t,
style = xmlGetProp (child, "style");
if (style && xmlStrEqual (style, "icons-only"))
{
- egg_toolbars_model_set_flags (t, EGG_TB_MODEL_ICONS_ONLY, 0);
+ /* FIXME: use toolbar position instead of 0 */
+ egg_toolbars_model_set_flags (t, 0, EGG_TB_MODEL_ICONS_ONLY);
}
xmlFree (style);
@@ -609,7 +610,7 @@ static void
egg_toolbars_model_finalize (GObject *object)
{
EggToolbarsModel *t = EGG_TOOLBARS_MODEL (object);
-
+
/* FIXME free nodes */
g_node_destroy (t->priv->toolbars);