aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-07-26 17:17:10 +0800
committerChristian Persch <chpe@src.gnome.org>2004-07-26 17:17:10 +0800
commit9536137c5a16d298570713202805532c808d67ae (patch)
treec49a46e315352ddf7ed000d4776eaf82a85da56b
parentf8ae08170e30e0d9cb938dd55249cd7985ca1c5b (diff)
downloadgsoc2013-epiphany-9536137c5a16d298570713202805532c808d67ae.tar
gsoc2013-epiphany-9536137c5a16d298570713202805532c808d67ae.tar.gz
gsoc2013-epiphany-9536137c5a16d298570713202805532c808d67ae.tar.bz2
gsoc2013-epiphany-9536137c5a16d298570713202805532c808d67ae.tar.lz
gsoc2013-epiphany-9536137c5a16d298570713202805532c808d67ae.tar.xz
gsoc2013-epiphany-9536137c5a16d298570713202805532c808d67ae.tar.zst
gsoc2013-epiphany-9536137c5a16d298570713202805532c808d67ae.zip
Switch parameter order for egg_toolbars_model_set_flags().
2004-07-26 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_set_flags): * lib/egg/egg-toolbars-model.h: * src/bookmarks/ephy-bookmarksbar-model.c: (update_flags_and_save_changes): * src/ephy-toolbars-model.c: (update_flags_and_save_changes): Switch parameter order for egg_toolbars_model_set_flags().
-rw-r--r--ChangeLog10
-rwxr-xr-xlib/egg/egg-toolbars-model.c4
-rwxr-xr-xlib/egg/egg-toolbars-model.h4
-rwxr-xr-xsrc/bookmarks/ephy-bookmarksbar-model.c2
-rwxr-xr-xsrc/ephy-toolbars-model.c2
5 files changed, 16 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index b11ef9dd3..5e0ed156d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2004-07-26 Christian Persch <chpe@cvs.gnome.org>
+
+ * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_set_flags):
+ * lib/egg/egg-toolbars-model.h:
+ * src/bookmarks/ephy-bookmarksbar-model.c:
+ (update_flags_and_save_changes):
+ * src/ephy-toolbars-model.c: (update_flags_and_save_changes):
+
+ Switch parameter order for egg_toolbars_model_set_flags().
+
2004-07-25 Christian Persch <chpe@cvs.gnome.org>
* src/popup-commands.c: (popup_cmd_download_link),
diff --git a/lib/egg/egg-toolbars-model.c b/lib/egg/egg-toolbars-model.c
index e38d0f96d..56cbcdb9c 100755
--- a/lib/egg/egg-toolbars-model.c
+++ b/lib/egg/egg-toolbars-model.c
@@ -279,8 +279,8 @@ egg_toolbars_model_get_flags (EggToolbarsModel *t,
void
egg_toolbars_model_set_flags (EggToolbarsModel *t,
- EggTbModelFlags flags,
- int toolbar_position)
+ int toolbar_position,
+ EggTbModelFlags flags)
{
GNode *toolbar_node;
EggToolbarsToolbar *toolbar;
diff --git a/lib/egg/egg-toolbars-model.h b/lib/egg/egg-toolbars-model.h
index 9ac2f97a2..b2630b3d4 100755
--- a/lib/egg/egg-toolbars-model.h
+++ b/lib/egg/egg-toolbars-model.h
@@ -104,8 +104,8 @@ int egg_toolbars_model_add_toolbar (EggToolbarsModel *t,
EggTbModelFlags egg_toolbars_model_get_flags (EggToolbarsModel *t,
int toolbar_position);
void egg_toolbars_model_set_flags (EggToolbarsModel *t,
- EggTbModelFlags flags,
- int toolbar_position);
+ int toolbar_position,
+ EggTbModelFlags flags);
void egg_toolbars_model_add_separator (EggToolbarsModel *t,
int toolbar_position,
int position);
diff --git a/src/bookmarks/ephy-bookmarksbar-model.c b/src/bookmarks/ephy-bookmarksbar-model.c
index df70ca583..0e5f17ae4 100755
--- a/src/bookmarks/ephy-bookmarksbar-model.c
+++ b/src/bookmarks/ephy-bookmarksbar-model.c
@@ -278,7 +278,7 @@ update_flags_and_save_changes (EphyBookmarksBarModel *model)
t_name = egg_toolbars_model_toolbar_nth (eggmodel, i);
g_return_if_fail (t_name != NULL);
- egg_toolbars_model_set_flags (eggmodel, flag, i);
+ egg_toolbars_model_set_flags (eggmodel, i, flag);
}
save_changes (model);
diff --git a/src/ephy-toolbars-model.c b/src/ephy-toolbars-model.c
index a1dfdda83..86501452c 100755
--- a/src/ephy-toolbars-model.c
+++ b/src/ephy-toolbars-model.c
@@ -121,7 +121,7 @@ update_flags_and_save_changes (EphyToolbarsModel *model)
g_return_if_fail (t_name != NULL);
flags = egg_toolbars_model_get_flags (eggmodel, i);
- egg_toolbars_model_set_flags (eggmodel, flags | flag, i);
+ egg_toolbars_model_set_flags (eggmodel, i, flags | flag);
}
save_changes (model);