aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-11-08 20:47:18 +0800
committerChristian Persch <chpe@src.gnome.org>2005-11-08 20:47:18 +0800
commit82c9d32820f4746129cfc2a57fee4eed78af5b78 (patch)
tree81378575fc2bcaf3e25aef2f798209c47b5d4272 /lib
parent003cc31d9db5de711c89915c916b77e9e910d59f (diff)
downloadgsoc2013-epiphany-82c9d32820f4746129cfc2a57fee4eed78af5b78.tar
gsoc2013-epiphany-82c9d32820f4746129cfc2a57fee4eed78af5b78.tar.gz
gsoc2013-epiphany-82c9d32820f4746129cfc2a57fee4eed78af5b78.tar.bz2
gsoc2013-epiphany-82c9d32820f4746129cfc2a57fee4eed78af5b78.tar.lz
gsoc2013-epiphany-82c9d32820f4746129cfc2a57fee4eed78af5b78.tar.xz
gsoc2013-epiphany-82c9d32820f4746129cfc2a57fee4eed78af5b78.tar.zst
gsoc2013-epiphany-82c9d32820f4746129cfc2a57fee4eed78af5b78.zip
Mark strings in param specs as static.
2005-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_class_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_class_init): * embed/ephy-history.c: (ephy_history_class_init): * embed/mozilla/mozilla-download.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_class_init): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_class_init): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtraymanager.c: (egg_tray_manager_class_init): * lib/ephy-dialog.c: (ephy_dialog_class_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_class_init): * lib/ephy-node-db.c: (ephy_node_db_class_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_class_init): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_class_init): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_class_init): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_class_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_class_init): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_class_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_class_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_class_init): * src/ephy-history-window.c: (ephy_history_window_class_init): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-navigation-action.c: (ephy_navigation_action_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): * src/ephy-tab.c: (ephy_tab_class_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_class_init): * src/ephy-window.c: (ephy_window_class_init): Mark strings in param specs as static.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/egg/egg-editable-toolbar.c4
-rwxr-xr-xlib/egg/egg-toolbar-editor.c4
-rw-r--r--lib/egg/eggstatusicon.c8
-rw-r--r--lib/egg/eggtraymanager.c2
-rw-r--r--lib/ephy-dialog.c10
-rw-r--r--lib/ephy-file-chooser.c2
-rw-r--r--lib/ephy-node-db.c4
-rw-r--r--lib/widgets/ephy-node-view.c4
-rw-r--r--lib/widgets/ephy-tree-model-node.c2
-rw-r--r--lib/widgets/ephy-zoom-action.c2
-rw-r--r--lib/widgets/ephy-zoom-control.c2
11 files changed, 22 insertions, 22 deletions
diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c
index 3d69c8fc0..516b8ff0d 100755
--- a/lib/egg/egg-editable-toolbar.c
+++ b/lib/egg/egg-editable-toolbar.c
@@ -1318,14 +1318,14 @@ egg_editable_toolbar_class_init (EggEditableToolbarClass *klass)
"UI-Mmanager",
"UI Manager",
GTK_TYPE_UI_MANAGER,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
g_object_class_install_property (object_class,
PROP_TOOLBARS_MODEL,
g_param_spec_object ("model",
"Model",
"Toolbars Model",
EGG_TYPE_TOOLBARS_MODEL,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
g_type_class_add_private (object_class, sizeof (EggEditableToolbarPrivate));
}
diff --git a/lib/egg/egg-toolbar-editor.c b/lib/egg/egg-toolbar-editor.c
index 46ac89c48..b03973a07 100755
--- a/lib/egg/egg-toolbar-editor.c
+++ b/lib/egg/egg-toolbar-editor.c
@@ -236,7 +236,7 @@ egg_toolbar_editor_class_init (EggToolbarEditorClass *klass)
"UI-Manager",
"UI Manager",
GTK_TYPE_UI_MANAGER,
- G_PARAM_READWRITE |
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB |
G_PARAM_CONSTRUCT_ONLY));
g_object_class_install_property (object_class,
PROP_TOOLBARS_MODEL,
@@ -244,7 +244,7 @@ egg_toolbar_editor_class_init (EggToolbarEditorClass *klass)
"Model",
"Toolbars Model",
EGG_TYPE_TOOLBARS_MODEL,
- G_PARAM_READWRITE |
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB |
G_PARAM_CONSTRUCT_ONLY));
g_type_class_add_private (object_class, sizeof (EggToolbarEditorPrivate));
diff --git a/lib/egg/eggstatusicon.c b/lib/egg/eggstatusicon.c
index d974af60c..af183c315 100644
--- a/lib/egg/eggstatusicon.c
+++ b/lib/egg/eggstatusicon.c
@@ -151,7 +151,7 @@ egg_status_icon_class_init (EggStatusIconClass *klass)
_("Pixbuf"),
_("A GdkPixbuf to display"),
GDK_TYPE_PIXBUF,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
g_object_class_install_property (gobject_class,
PROP_FILE,
@@ -167,7 +167,7 @@ egg_status_icon_class_init (EggStatusIconClass *klass)
_("Stock ID"),
_("Stock ID for a stock image to display"),
NULL,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
g_object_class_install_property (gobject_class,
PROP_PIXBUF_ANIMATION,
@@ -175,7 +175,7 @@ egg_status_icon_class_init (EggStatusIconClass *klass)
_("Animation"),
_("GdkPixbufAnimation to display"),
GDK_TYPE_PIXBUF_ANIMATION,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
g_object_class_install_property (gobject_class,
PROP_STORAGE_TYPE,
@@ -202,7 +202,7 @@ egg_status_icon_class_init (EggStatusIconClass *klass)
_("Blinking"),
_("Whether or not the status icon is blinking"),
FALSE,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
status_icon_signals [ACTIVATE_SIGNAL] =
g_signal_new ("activate",
diff --git a/lib/egg/eggtraymanager.c b/lib/egg/eggtraymanager.c
index 2167ea607..cb3b7b2c5 100644
--- a/lib/egg/eggtraymanager.c
+++ b/lib/egg/eggtraymanager.c
@@ -146,7 +146,7 @@ egg_tray_manager_class_init (EggTrayManagerClass *klass)
_("The orientation of the tray."),
GTK_TYPE_ORIENTATION,
GTK_ORIENTATION_HORIZONTAL,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_CONSTRUCT));
manager_signals[TRAY_ICON_ADDED] =
g_signal_new ("tray_icon_added",
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index ef264845c..f171d4dae 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -1445,7 +1445,7 @@ ephy_dialog_class_init (EphyDialogClass *klass)
"Parent window",
"Parent window",
GTK_TYPE_WINDOW,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
g_object_class_install_property (object_class,
PROP_MODAL,
@@ -1453,7 +1453,7 @@ ephy_dialog_class_init (EphyDialogClass *klass)
"Modal",
"Modal dialog",
FALSE,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
g_object_class_install_property (object_class,
PROP_PERSIST_POSITION,
@@ -1461,7 +1461,7 @@ ephy_dialog_class_init (EphyDialogClass *klass)
"Persist position",
"Persist dialog position",
FALSE,
- G_PARAM_READWRITE |
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB |
G_PARAM_CONSTRUCT_ONLY));
g_object_class_install_property (object_class,
@@ -1472,7 +1472,7 @@ ephy_dialog_class_init (EphyDialogClass *klass)
-1,
G_MAXINT,
-1,
- G_PARAM_READWRITE |
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB |
G_PARAM_CONSTRUCT_ONLY));
g_object_class_install_property (object_class,
@@ -1483,7 +1483,7 @@ ephy_dialog_class_init (EphyDialogClass *klass)
-1,
G_MAXINT,
-1,
- G_PARAM_READWRITE |
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB |
G_PARAM_CONSTRUCT_ONLY));
g_type_class_add_private (object_class, sizeof (EphyDialogPrivate));
diff --git a/lib/ephy-file-chooser.c b/lib/ephy-file-chooser.c
index faf94ed9b..b240e0828 100644
--- a/lib/ephy-file-chooser.c
+++ b/lib/ephy-file-chooser.c
@@ -282,7 +282,7 @@ ephy_file_chooser_class_init (EphyFileChooserClass *klass)
"Persist Key",
"The gconf key to which to persist the selected directory",
NULL,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
g_type_class_add_private (object_class, sizeof (EphyFileChooserPrivate));
}
diff --git a/lib/ephy-node-db.c b/lib/ephy-node-db.c
index af2899664..daa54da13 100644
--- a/lib/ephy-node-db.c
+++ b/lib/ephy-node-db.c
@@ -527,7 +527,7 @@ ephy_node_db_class_init (EphyNodeDbClass *klass)
"Name",
"Name",
NULL,
- G_PARAM_READWRITE |
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB |
G_PARAM_CONSTRUCT_ONLY));
g_object_class_install_property (object_class,
@@ -536,7 +536,7 @@ ephy_node_db_class_init (EphyNodeDbClass *klass)
"Immutable",
"Immutable",
FALSE,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
g_type_class_add_private (object_class, sizeof (EphyNodeDbPrivate));
}
diff --git a/lib/widgets/ephy-node-view.c b/lib/widgets/ephy-node-view.c
index 6d48b1ddf..362c77ccb 100644
--- a/lib/widgets/ephy-node-view.c
+++ b/lib/widgets/ephy-node-view.c
@@ -1638,14 +1638,14 @@ ephy_node_view_class_init (EphyNodeViewClass *klass)
g_param_spec_pointer ("root",
"Root node",
"Root node",
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_CONSTRUCT_ONLY));
g_object_class_install_property (object_class,
PROP_FILTER,
g_param_spec_object ("filter",
"Filter object",
"Filter object",
EPHY_TYPE_NODE_FILTER,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
ephy_node_view_signals[NODE_TOGGLED] =
g_signal_new ("node_toggled",
diff --git a/lib/widgets/ephy-tree-model-node.c b/lib/widgets/ephy-tree-model-node.c
index e00ff1324..0fb20594d 100644
--- a/lib/widgets/ephy-tree-model-node.c
+++ b/lib/widgets/ephy-tree-model-node.c
@@ -276,7 +276,7 @@ ephy_tree_model_node_class_init (EphyTreeModelNodeClass *klass)
g_param_spec_pointer ("root",
"Root node",
"Root node",
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_CONSTRUCT_ONLY));
g_type_class_add_private (object_class, sizeof (EphyTreeModelNodePrivate));
}
diff --git a/lib/widgets/ephy-zoom-action.c b/lib/widgets/ephy-zoom-action.c
index ac547ac63..3334cf7a2 100644
--- a/lib/widgets/ephy-zoom-action.c
+++ b/lib/widgets/ephy-zoom-action.c
@@ -232,7 +232,7 @@ ephy_zoom_action_class_init (EphyZoomActionClass *class)
ZOOM_MINIMAL,
ZOOM_MAXIMAL,
1.0,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
signals[ZOOM_TO_LEVEL_SIGNAL] =
g_signal_new ("zoom_to_level",
diff --git a/lib/widgets/ephy-zoom-control.c b/lib/widgets/ephy-zoom-control.c
index bc408380e..cc24f61a6 100644
--- a/lib/widgets/ephy-zoom-control.c
+++ b/lib/widgets/ephy-zoom-control.c
@@ -274,7 +274,7 @@ ephy_zoom_control_class_init (EphyZoomControlClass *klass)
ZOOM_MINIMAL,
ZOOM_MAXIMAL,
1.0,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
signals[ZOOM_TO_LEVEL_SIGNAL] =
g_signal_new ("zoom_to_level",