aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-09-07 04:08:18 +0800
committerChristian Persch <chpe@src.gnome.org>2006-09-07 04:08:18 +0800
commit60861941d740b92a1eab06f45cfa3db337a537e2 (patch)
treebe6299645c1f96ddd99be9eb0bba8457f65d0550 /lib
parent3f939976388408a4e5887f431d6c7dbd034d57d6 (diff)
downloadgsoc2013-epiphany-60861941d740b92a1eab06f45cfa3db337a537e2.tar
gsoc2013-epiphany-60861941d740b92a1eab06f45cfa3db337a537e2.tar.gz
gsoc2013-epiphany-60861941d740b92a1eab06f45cfa3db337a537e2.tar.bz2
gsoc2013-epiphany-60861941d740b92a1eab06f45cfa3db337a537e2.tar.lz
gsoc2013-epiphany-60861941d740b92a1eab06f45cfa3db337a537e2.tar.xz
gsoc2013-epiphany-60861941d740b92a1eab06f45cfa3db337a537e2.tar.zst
gsoc2013-epiphany-60861941d740b92a1eab06f45cfa3db337a537e2.zip
Remove some unnecessary static data.
2006-09-06 Christian Persch <chpe@cvs.gnome.org> * *.c *.cpp: Remove some unnecessary static data.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am2
-rw-r--r--lib/egg/Makefile.am2
-rwxr-xr-xlib/egg/egg-editable-toolbar.c2
-rwxr-xr-xlib/egg/egg-toolbar-editor.c2
-rwxr-xr-xlib/egg/egg-toolbars-model.c2
-rw-r--r--lib/egg/eggtreemultidnd.c2
-rw-r--r--lib/ephy-adblock.c2
-rw-r--r--lib/ephy-dialog.c2
-rw-r--r--lib/ephy-file-chooser.c2
-rw-r--r--lib/ephy-loader.c2
-rw-r--r--lib/ephy-module.c2
-rw-r--r--lib/ephy-node-db.c2
-rw-r--r--lib/ephy-node-filter.c2
-rw-r--r--lib/ephy-shlib-loader.c4
-rwxr-xr-xlib/ephy-spell-check.c2
-rw-r--r--lib/widgets/ephy-icon-entry.c2
-rw-r--r--lib/widgets/ephy-location-entry.c2
-rw-r--r--lib/widgets/ephy-node-view.c2
-rw-r--r--lib/widgets/ephy-search-entry.c2
-rw-r--r--lib/widgets/ephy-spinner.c4
-rw-r--r--lib/widgets/ephy-tree-model-node.c4
-rw-r--r--lib/widgets/ephy-tree-model-sort.c4
-rw-r--r--lib/widgets/ephy-zoom-action.c2
-rw-r--r--lib/widgets/ephy-zoom-control.c2
24 files changed, 28 insertions, 28 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 950bad27d..24aff4649 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -134,7 +134,7 @@ stamp-ephy-lib-type-builtins.c: $(TYPES_H_FILES)
--fhead "#include \"ephy-lib-type-builtins.h\"\n\n" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--fprod "\n#include \"@filename@\"" \
- --vhead "static const G@Type@Value _@enum_name@_values[] = {" \
+ --vhead "const G@Type@Value _@enum_name@_values[] = {" \
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
--vtail " { 0, NULL, NULL }\n};\n\n" \
--vtail "GType\n@enum_name@_get_type (void)\n{\n" \
diff --git a/lib/egg/Makefile.am b/lib/egg/Makefile.am
index bb50e0915..e4c63e8df 100644
--- a/lib/egg/Makefile.am
+++ b/lib/egg/Makefile.am
@@ -64,7 +64,7 @@ stamp-eggtypebuiltins.c: $(EGGHEADERS)
--fhead "#include \"eggtypebuiltins.h\"\n\n" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--fprod "\n#include \"@filename@\"" \
- --vhead "static const G@Type@Value _@enum_name@_values[] = {" \
+ --vhead "const G@Type@Value _@enum_name@_values[] = {" \
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
--vtail " { 0, NULL, NULL }\n};\n\n" \
--vtail "GType\n@enum_name@_get_type (void)\n{\n" \
diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c
index 104326fbf..6183bc8b0 100755
--- a/lib/egg/egg-editable-toolbar.c
+++ b/lib/egg/egg-editable-toolbar.c
@@ -109,7 +109,7 @@ egg_editable_toolbar_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info = {
+ const GTypeInfo our_info = {
sizeof (EggEditableToolbarClass),
NULL, /* base_init */
NULL, /* base_finalize */
diff --git a/lib/egg/egg-toolbar-editor.c b/lib/egg/egg-toolbar-editor.c
index ca3e2f1ea..c52357668 100755
--- a/lib/egg/egg-toolbar-editor.c
+++ b/lib/egg/egg-toolbar-editor.c
@@ -78,7 +78,7 @@ egg_toolbar_editor_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info = {
+ const GTypeInfo our_info = {
sizeof (EggToolbarEditorClass),
NULL, /* base_init */
NULL, /* base_finalize */
diff --git a/lib/egg/egg-toolbars-model.c b/lib/egg/egg-toolbars-model.c
index f0a5b0fa0..2cd58ac69 100755
--- a/lib/egg/egg-toolbars-model.c
+++ b/lib/egg/egg-toolbars-model.c
@@ -75,7 +75,7 @@ egg_toolbars_model_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info = {
+ const GTypeInfo our_info = {
sizeof (EggToolbarsModelClass),
NULL, /* base_init */
NULL, /* base_finalize */
diff --git a/lib/egg/eggtreemultidnd.c b/lib/egg/eggtreemultidnd.c
index 3a7da919c..4850c6860 100644
--- a/lib/egg/eggtreemultidnd.c
+++ b/lib/egg/eggtreemultidnd.c
@@ -59,7 +59,7 @@ egg_tree_multi_drag_source_get_type (void)
if (!our_type)
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EggTreeMultiDragSourceIface), /* class_size */
NULL, /* base_init */
diff --git a/lib/ephy-adblock.c b/lib/ephy-adblock.c
index 4307737df..2ba3e1e53 100644
--- a/lib/ephy-adblock.c
+++ b/lib/ephy-adblock.c
@@ -31,7 +31,7 @@ ephy_adblock_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphyAdBlockIface),
NULL,
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index 669f6d5d8..52863ef5c 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -115,7 +115,7 @@ ephy_dialog_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphyDialogClass),
NULL, /* base_init */
diff --git a/lib/ephy-file-chooser.c b/lib/ephy-file-chooser.c
index b240e0828..e0a483e50 100644
--- a/lib/ephy-file-chooser.c
+++ b/lib/ephy-file-chooser.c
@@ -57,7 +57,7 @@ ephy_file_chooser_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphyFileChooserClass),
NULL,
diff --git a/lib/ephy-loader.c b/lib/ephy-loader.c
index d7df7de8c..13abec2b8 100644
--- a/lib/ephy-loader.c
+++ b/lib/ephy-loader.c
@@ -30,7 +30,7 @@ ephy_loader_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphyLoaderIface),
NULL,
diff --git a/lib/ephy-module.c b/lib/ephy-module.c
index 8c9c977e4..d6188894f 100644
--- a/lib/ephy-module.c
+++ b/lib/ephy-module.c
@@ -59,7 +59,7 @@ ephy_module_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo type_info =
+ const GTypeInfo type_info =
{
sizeof (EphyModuleClass),
(GBaseInitFunc) NULL,
diff --git a/lib/ephy-node-db.c b/lib/ephy-node-db.c
index daa54da13..05f904057 100644
--- a/lib/ephy-node-db.c
+++ b/lib/ephy-node-db.c
@@ -548,7 +548,7 @@ ephy_node_db_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphyNodeDbClass),
NULL,
diff --git a/lib/ephy-node-filter.c b/lib/ephy-node-filter.c
index 0457f30ca..04314c6d6 100644
--- a/lib/ephy-node-filter.c
+++ b/lib/ephy-node-filter.c
@@ -83,7 +83,7 @@ ephy_node_filter_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphyNodeFilterClass),
NULL,
diff --git a/lib/ephy-shlib-loader.c b/lib/ephy-shlib-loader.c
index c1a82e938..b4407d7ae 100644
--- a/lib/ephy-shlib-loader.c
+++ b/lib/ephy-shlib-loader.c
@@ -56,7 +56,7 @@ ephy_shlib_loader_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphyShlibLoaderClass),
NULL, /* base_init */
@@ -69,7 +69,7 @@ ephy_shlib_loader_get_type (void)
(GInstanceInitFunc) ephy_shlib_loader_init
};
- static const GInterfaceInfo loader_info =
+ const GInterfaceInfo loader_info =
{
(GInterfaceInitFunc) ephy_shlib_loader_iface_init,
NULL,
diff --git a/lib/ephy-spell-check.c b/lib/ephy-spell-check.c
index b11e585e3..c50607143 100755
--- a/lib/ephy-spell-check.c
+++ b/lib/ephy-spell-check.c
@@ -124,7 +124,7 @@ ephy_spell_check_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphySpellCheckClass),
NULL,
diff --git a/lib/widgets/ephy-icon-entry.c b/lib/widgets/ephy-icon-entry.c
index 1950819fb..d7c545341 100644
--- a/lib/widgets/ephy-icon-entry.c
+++ b/lib/widgets/ephy-icon-entry.c
@@ -292,7 +292,7 @@ ephy_icon_entry_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphyIconEntryClass),
NULL,
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 939267839..a3da0fd28 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -135,7 +135,7 @@ ephy_location_entry_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphyLocationEntryClass),
NULL,
diff --git a/lib/widgets/ephy-node-view.c b/lib/widgets/ephy-node-view.c
index fcbc34e18..0a6365ec3 100644
--- a/lib/widgets/ephy-node-view.c
+++ b/lib/widgets/ephy-node-view.c
@@ -112,7 +112,7 @@ ephy_node_view_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphyNodeViewClass),
NULL,
diff --git a/lib/widgets/ephy-search-entry.c b/lib/widgets/ephy-search-entry.c
index a783f2ae3..facc0bda6 100644
--- a/lib/widgets/ephy-search-entry.c
+++ b/lib/widgets/ephy-search-entry.c
@@ -55,7 +55,7 @@ ephy_search_entry_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphySearchEntryClass),
NULL,
diff --git a/lib/widgets/ephy-spinner.c b/lib/widgets/ephy-spinner.c
index 1371ea3dd..3bf36bc65 100644
--- a/lib/widgets/ephy-spinner.c
+++ b/lib/widgets/ephy-spinner.c
@@ -104,7 +104,7 @@ ephy_spinner_cache_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphySpinnerCacheClass),
NULL,
@@ -534,7 +534,7 @@ ephy_spinner_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphySpinnerClass),
NULL, /* base_init */
diff --git a/lib/widgets/ephy-tree-model-node.c b/lib/widgets/ephy-tree-model-node.c
index 0fb20594d..496620ab8 100644
--- a/lib/widgets/ephy-tree-model-node.c
+++ b/lib/widgets/ephy-tree-model-node.c
@@ -69,7 +69,7 @@ ephy_tree_model_node_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphyTreeModelNodeClass),
NULL,
@@ -82,7 +82,7 @@ ephy_tree_model_node_get_type (void)
(GInstanceInitFunc) ephy_tree_model_node_init
};
- static const GInterfaceInfo tree_model_info =
+ const GInterfaceInfo tree_model_info =
{
(GInterfaceInitFunc) ephy_tree_model_node_tree_model_init,
NULL,
diff --git a/lib/widgets/ephy-tree-model-sort.c b/lib/widgets/ephy-tree-model-sort.c
index dc6af7982..a9cd26045 100644
--- a/lib/widgets/ephy-tree-model-sort.c
+++ b/lib/widgets/ephy-tree-model-sort.c
@@ -61,7 +61,7 @@ ephy_tree_model_sort_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphyTreeModelSortClass),
NULL, /* base init */
@@ -73,7 +73,7 @@ ephy_tree_model_sort_get_type (void)
0, /* n_preallocs */
(GInstanceInitFunc) ephy_tree_model_sort_init
};
- static const GInterfaceInfo multi_drag_source_info =
+ const GInterfaceInfo multi_drag_source_info =
{
(GInterfaceInitFunc) ephy_tree_model_sort_multi_drag_source_init,
NULL,
diff --git a/lib/widgets/ephy-zoom-action.c b/lib/widgets/ephy-zoom-action.c
index 3334cf7a2..3f75ea0cd 100644
--- a/lib/widgets/ephy-zoom-action.c
+++ b/lib/widgets/ephy-zoom-action.c
@@ -66,7 +66,7 @@ ephy_zoom_action_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphyZoomActionClass),
NULL, /* base_init */
diff --git a/lib/widgets/ephy-zoom-control.c b/lib/widgets/ephy-zoom-control.c
index 040a00dba..b4f282919 100644
--- a/lib/widgets/ephy-zoom-control.c
+++ b/lib/widgets/ephy-zoom-control.c
@@ -66,7 +66,7 @@ ephy_zoom_control_get_type (void)
if (G_UNLIKELY (type == 0))
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EphyZoomControlClass),
NULL, /* base_init */