diff options
author | Björn Lindqvist <bjourne@gmail.com> | 2006-12-17 11:06:15 +0800 |
---|---|---|
committer | Björn Lindqvist <bjornl@src.gnome.org> | 2006-12-17 11:06:15 +0800 |
commit | 73f71bde0e7e256ac5636e7d0f4693aa83e67a56 (patch) | |
tree | ef89ba03eafbd73a71984fe210b7d12b295b9592 /embed/mozilla | |
parent | 66ccfb8ffa2b566a31151da92ba5aa0881153d15 (diff) | |
download | gsoc2013-epiphany-73f71bde0e7e256ac5636e7d0f4693aa83e67a56.tar gsoc2013-epiphany-73f71bde0e7e256ac5636e7d0f4693aa83e67a56.tar.gz gsoc2013-epiphany-73f71bde0e7e256ac5636e7d0f4693aa83e67a56.tar.bz2 gsoc2013-epiphany-73f71bde0e7e256ac5636e7d0f4693aa83e67a56.tar.lz gsoc2013-epiphany-73f71bde0e7e256ac5636e7d0f4693aa83e67a56.tar.xz gsoc2013-epiphany-73f71bde0e7e256ac5636e7d0f4693aa83e67a56.tar.zst gsoc2013-epiphany-73f71bde0e7e256ac5636e7d0f4693aa83e67a56.zip |
embed/ephy-encodings.c embed/ephy-favicon-cache.c embed/ephy-history.c
2006-12-17 Björn Lindqvist <bjourne@gmail.com>
* embed/ephy-encodings.c
* embed/ephy-favicon-cache.c
* embed/ephy-history.c
* embed/mozilla/GlobalHistory.cpp
* lib/ephy-state.c
* lib/widgets/ephy-node-view.c
* src/ephy-tab.c
* src/bookmarks/ephy-bookmarks.c
Refactor lots of code by using the function
ephy_node_set_property_XXX() instead of
ephy_node_set_property(). Also, add emacs mode headers to touched
files. Bug #381546.
Diffstat (limited to 'embed/mozilla')
-rw-r--r-- | embed/mozilla/GlobalHistory.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/embed/mozilla/GlobalHistory.cpp b/embed/mozilla/GlobalHistory.cpp index 7064b5112..73dc56f2e 100644 --- a/embed/mozilla/GlobalHistory.cpp +++ b/embed/mozilla/GlobalHistory.cpp @@ -1,3 +1,4 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright © 2001, 2004 Philip Langdale * Copyright © 2004 Christian Persch @@ -196,13 +197,9 @@ MozGlobalHistory::SetURIGeckoFlags(nsIURI *aURI, EphyNode *page = ephy_history_get_page (mGlobalHistory, spec.get()); if (page != NULL) { - GValue value = { 0, }; - - g_value_init (&value, G_TYPE_LONG); - g_value_set_long (&value, (long) (gulong) aFlags); - ephy_node_set_property (page, EPHY_NODE_PAGE_PROP_GECKO_FLAGS, &value); - g_value_unset (&value); - + ephy_node_set_property_long (page, + EPHY_NODE_PAGE_PROP_GECKO_FLAGS, + aFlags); return NS_OK; } |