aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg
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/egg
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/egg')
-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
5 files changed, 5 insertions, 5 deletions
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 */