aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-state.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-04 03:36:07 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-04 03:36:07 +0800
commit3ab9a0de0534c260fec251c9e76e54cf5989d507 (patch)
treefb5c3da3e723c9d450e3c0f0272d3e2f10ff431f /lib/ephy-state.c
parentc7eaafa8fa678b1908b629495fb263dca7b76751 (diff)
downloadgsoc2013-epiphany-3ab9a0de0534c260fec251c9e76e54cf5989d507.tar.gz
gsoc2013-epiphany-3ab9a0de0534c260fec251c9e76e54cf5989d507.tar.zst
gsoc2013-epiphany-3ab9a0de0534c260fec251c9e76e54cf5989d507.zip
Add type for flags.
2005-01-03 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-state.c: (ephy_state_window_flags_get_type): * lib/ephy-state.h: Add type for flags.
Diffstat (limited to 'lib/ephy-state.c')
-rw-r--r--lib/ephy-state.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/ephy-state.c b/lib/ephy-state.c
index 452d56b7b..4871b2ea1 100644
--- a/lib/ephy-state.c
+++ b/lib/ephy-state.c
@@ -513,3 +513,25 @@ ephy_state_save (void)
states_db = NULL;
}
}
+
+GType
+ephy_state_window_flags_get_type (void)
+{
+ static GType type = 0;
+
+ if (G_UNLIKELY (type == 0))
+ {
+ static const GFlagsValue values[] =
+ {
+ { EPHY_STATE_WINDOW_SAVE_NONE, "EPHY_STATE_WINDOW_SAVE_NONE", "none" },
+ { EPHY_STATE_WINDOW_SAVE_SIZE, "EPHY_STATE_WINDOW_SAVE_SIZE", "size" },
+ { EPHY_STATE_WINDOW_SAVE_POSITION, "EPHY_STATE_WINDOW_SAVE_POSITION", "position" },
+
+ { 0, NULL, NULL }
+ };
+
+ type = g_flags_register_static ("EphyStateWindowFlags", values);
+ }
+
+ return type;
+}
net-im/pidgin-hotkeys?h=gstreamer0.10-removal&id=33f3ed3f1c3ff900609e298fe5246ec6c3a8917e'>- Get Rid MD5 supportmiwi2011-03-201-1/+0 * Update Pidgin and friends to 2.7.0. Seemarcus2010-05-221-2/+2 * - update to 1.4.1dinoex2010-03-281-1/+1 * - update to jpeg-8dinoex2010-02-051-1/+1 * Chase the libpurple shared lib bump.erwin2009-08-221-2/+2 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1 * Mark all my ports as MAKE_JOBS_SAFE and MAKE_JOBS_UNSAFEgarga2009-03-291-0/+1 * Belatedly chase the libpurple shared lib version.marcus2008-08-251-2/+2 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Chase libpurple version to purple.4 forgotten last commitgarga2008-03-021-2/+2 * Chase the libpurple shared lib version.marcus2008-03-021-1/+1 * - Chase libpurple shlib bumppav2007-12-131-1/+1 * Update pidgin to 2.3.1, and chase the shared lib version bump. Seemarcus2007-12-131-1/+1 * - Chase libpurple version bump [1]garga2007-09-251-2/+5 * Chase the libpurple shared lib version.marcus2007-08-081-1/+2 * - Update to 0.2.4garga2007-07-062-4/+4 * - Project now is renamed on sourceforge, so, make it fetchable again and fix WWWgarga2007-06-132-3/+2 * - Move net-im/gaim-hotkeys -> net-im/pidgin-hotkeys because project was renamedgarga2007-05-286-65/+8 * - Fix it to work with pidgingarga2007-05-224-6/+63 * - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1 * Take a pick at fixing INDEX, gaim-devel was renamed to pidgin anderwin2007-05-031-3/+3 * - Remove 4.x support on my portsgarga2007-02-031-7/+1 * A gaim plugin that allows user to assign global hotkeys (e.g. Ctrl+Alt+g) forgarga2006-11-24