aboutsummaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--ChangeLog43
-rw-r--r--embed/ephy-embed-dialog.c2
-rw-r--r--embed/ephy-embed-persist.c18
-rw-r--r--embed/ephy-history.c2
-rw-r--r--embed/mozilla/mozilla-download.cpp2
-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
-rw-r--r--src/bookmarks/ephy-bookmark-action.c2
-rw-r--r--src/bookmarks/ephy-bookmark-properties.c4
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c2
-rw-r--r--src/bookmarks/ephy-new-bookmark.c4
-rw-r--r--src/bookmarks/ephy-topic-action.c2
-rw-r--r--src/bookmarks/ephy-topics-selector.c4
-rw-r--r--src/ephy-encoding-menu.c2
-rw-r--r--src/ephy-history-window.c2
-rw-r--r--src/ephy-location-action.c14
-rw-r--r--src/ephy-navigation-action.c6
-rw-r--r--src/ephy-notebook.c4
-rw-r--r--src/ephy-tab.c6
-rw-r--r--src/ephy-tabs-menu.c2
-rw-r--r--src/ephy-window.c8
30 files changed, 108 insertions, 65 deletions
diff --git a/ChangeLog b/ChangeLog
index 47d591498..5f4c9fe65 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,46 @@
+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.
+
2005-11-07 Christian Persch <chpe@cvs.gnome.org>
* configure.ac:
diff --git a/embed/ephy-embed-dialog.c b/embed/ephy-embed-dialog.c
index 55b909ced..3677f891c 100644
--- a/embed/ephy-embed-dialog.c
+++ b/embed/ephy-embed-dialog.c
@@ -99,7 +99,7 @@ ephy_embed_dialog_class_init (EphyEmbedDialogClass *klass)
"Embed",
"The dialog's embed",
G_TYPE_OBJECT,
- 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(EphyEmbedDialogPrivate));
}
diff --git a/embed/ephy-embed-persist.c b/embed/ephy-embed-persist.c
index 3297438f1..245f7008b 100644
--- a/embed/ephy-embed-persist.c
+++ b/embed/ephy-embed-persist.c
@@ -573,7 +573,7 @@ ephy_embed_persist_class_init (EphyEmbedPersistClass *klass)
"Destination",
"Destination file path",
NULL,
- 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_EMBED,
@@ -581,7 +581,7 @@ ephy_embed_persist_class_init (EphyEmbedPersistClass *klass)
"Embed",
"The embed containing the document",
G_TYPE_OBJECT,
- 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,
@@ -590,7 +590,7 @@ ephy_embed_persist_class_init (EphyEmbedPersistClass *klass)
"Filechooser title",
"Title to use if showing filechooser",
NULL,
- 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_FILECHOOSER_PARENT,
@@ -598,7 +598,7 @@ ephy_embed_persist_class_init (EphyEmbedPersistClass *klass)
"Filechooser parent",
"The parent window for the filechooser",
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_FLAGS,
@@ -607,7 +607,7 @@ ephy_embed_persist_class_init (EphyEmbedPersistClass *klass)
"Flags",
EPHY_TYPE_EMBED_PERSIST_FLAGS,
0,
- 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_MAX_SIZE,
@@ -617,7 +617,7 @@ ephy_embed_persist_class_init (EphyEmbedPersistClass *klass)
-1,
G_MAXINT64,
-1,
- 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_PERSISTKEY,
@@ -625,7 +625,7 @@ ephy_embed_persist_class_init (EphyEmbedPersistClass *klass)
"persist key",
"Path persistence gconf key",
NULL,
- 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_SOURCE,
@@ -633,7 +633,7 @@ ephy_embed_persist_class_init (EphyEmbedPersistClass *klass)
"Source",
"Url of the document to save",
NULL,
- 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_USER_TIME,
@@ -643,7 +643,7 @@ ephy_embed_persist_class_init (EphyEmbedPersistClass *klass)
0,
G_MAXUINT,
0,
- 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(EphyEmbedPersistPrivate));
}
diff --git a/embed/ephy-history.c b/embed/ephy-history.c
index de8109128..ad02c1655 100644
--- a/embed/ephy-history.c
+++ b/embed/ephy-history.c
@@ -186,7 +186,7 @@ ephy_history_class_init (EphyHistoryClass *klass)
"Enabled",
"Enabled",
TRUE,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
signals[ADD_PAGE] =
g_signal_new ("add_page",
diff --git a/embed/mozilla/mozilla-download.cpp b/embed/mozilla/mozilla-download.cpp
index 5a412e086..75225c3a6 100644
--- a/embed/mozilla/mozilla-download.cpp
+++ b/embed/mozilla/mozilla-download.cpp
@@ -301,7 +301,7 @@ mozilla_download_class_init (MozillaDownloadClass *klass)
"Mozilla Download",
"Mozilla Download",
(GParamFlags)
- (G_PARAM_READWRITE |
+ (G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB |
G_PARAM_CONSTRUCT_ONLY)));
}
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",
diff --git a/src/bookmarks/ephy-bookmark-action.c b/src/bookmarks/ephy-bookmark-action.c
index db93b5824..91b048184 100644
--- a/src/bookmarks/ephy-bookmark-action.c
+++ b/src/bookmarks/ephy-bookmark-action.c
@@ -657,7 +657,7 @@ ephy_bookmark_action_class_init (EphyBookmarkActionClass *class)
g_param_spec_pointer ("bookmark",
"Bookmark",
"Bookmark",
- G_PARAM_READWRITE |
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB |
G_PARAM_CONSTRUCT_ONLY));
/* overwrite GtkActionClass::tooltip, so we can use the url as tooltip */
diff --git a/src/bookmarks/ephy-bookmark-properties.c b/src/bookmarks/ephy-bookmark-properties.c
index 0494ab507..cbeb74019 100644
--- a/src/bookmarks/ephy-bookmark-properties.c
+++ b/src/bookmarks/ephy-bookmark-properties.c
@@ -115,14 +115,14 @@ ephy_bookmark_properties_class_init (EphyBookmarkPropertiesClass *klass)
"Bookmarks set",
"Bookmarks set",
EPHY_TYPE_BOOKMARKS,
- 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_BOOKMARK,
g_param_spec_pointer ("bookmark",
"Bookmark",
"Bookmark",
- 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(EphyBookmarkPropertiesPrivate));
}
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 5d5399b4a..baf3f23cf 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -1034,7 +1034,7 @@ ephy_bookmarks_editor_class_init (EphyBookmarksEditorClass *klass)
"Bookmarks set",
"Bookmarks set",
EPHY_TYPE_BOOKMARKS,
- 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(EphyBookmarksEditorPrivate));
}
diff --git a/src/bookmarks/ephy-new-bookmark.c b/src/bookmarks/ephy-new-bookmark.c
index 75b2c8948..923dd642f 100644
--- a/src/bookmarks/ephy-new-bookmark.c
+++ b/src/bookmarks/ephy-new-bookmark.c
@@ -129,14 +129,14 @@ ephy_new_bookmark_class_init (EphyNewBookmarkClass *klass)
"Bookmarks set",
"Bookmarks set",
EPHY_TYPE_BOOKMARKS,
- 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_LOCATION,
g_param_spec_string ("location",
"Bookmark location",
"Bookmark location",
"",
- 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(EphyNewBookmarkPrivate));
}
diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c
index 3e0607509..4988e7d20 100644
--- a/src/bookmarks/ephy-topic-action.c
+++ b/src/bookmarks/ephy-topic-action.c
@@ -461,7 +461,7 @@ ephy_topic_action_class_init (EphyTopicActionClass *class)
g_param_spec_pointer ("topic",
"Topic",
"Topic",
- 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,
diff --git a/src/bookmarks/ephy-topics-selector.c b/src/bookmarks/ephy-topics-selector.c
index b0c618d67..3af16331c 100644
--- a/src/bookmarks/ephy-topics-selector.c
+++ b/src/bookmarks/ephy-topics-selector.c
@@ -340,14 +340,14 @@ ephy_topics_selector_class_init (EphyTopicsSelectorClass *klass)
"Bookmarks set",
"Bookmarks set",
EPHY_TYPE_BOOKMARKS,
- 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_BOOKMARK,
g_param_spec_pointer ("bookmark",
"Bookmark",
"Bookmark",
- 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(EphyTopicsSelectorPrivate));
}
diff --git a/src/ephy-encoding-menu.c b/src/ephy-encoding-menu.c
index a687d0421..80dd7de4a 100644
--- a/src/ephy-encoding-menu.c
+++ b/src/ephy-encoding-menu.c
@@ -475,7 +475,7 @@ ephy_encoding_menu_class_init (EphyEncodingMenuClass *klass)
"Window",
"Parent window",
EPHY_TYPE_WINDOW,
- 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(EphyEncodingMenuPrivate));
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 48bae8e42..be0464a6c 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -622,7 +622,7 @@ ephy_history_window_class_init (EphyHistoryWindowClass *klass)
"Global history",
"Global History",
EPHY_TYPE_HISTORY,
- 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(EphyHistoryWindowPrivate));
}
diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c
index c3c0b4109..879182e94 100644
--- a/src/ephy-location-action.c
+++ b/src/ephy-location-action.c
@@ -560,14 +560,14 @@ ephy_location_action_class_init (EphyLocationActionClass *class)
"Address",
"The address",
"",
- 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_EDITABLE,
g_param_spec_boolean ("editable",
"Editable",
"Editable",
TRUE,
- 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_ICON,
@@ -575,7 +575,7 @@ ephy_location_action_class_init (EphyLocationActionClass *class)
"Icon",
"The icon",
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 (object_class,
PROP_LOCK_STOCK,
@@ -583,7 +583,7 @@ ephy_location_action_class_init (EphyLocationActionClass *class)
"Lock Stock ID",
"Lock Stock ID",
NULL,
- 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_LOCK_TOOLTIP,
@@ -591,7 +591,7 @@ ephy_location_action_class_init (EphyLocationActionClass *class)
"Lock Tooltip",
"The icon",
NULL,
- 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_SECURE,
@@ -599,7 +599,7 @@ ephy_location_action_class_init (EphyLocationActionClass *class)
"Secure",
"Secure",
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_SHOW_LOCK,
@@ -607,7 +607,7 @@ ephy_location_action_class_init (EphyLocationActionClass *class)
"Show Lock",
"Show Lock",
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_WINDOW,
diff --git a/src/ephy-navigation-action.c b/src/ephy-navigation-action.c
index 08a93a3b9..670f06f47 100644
--- a/src/ephy-navigation-action.c
+++ b/src/ephy-navigation-action.c
@@ -527,7 +527,7 @@ ephy_navigation_action_class_init (EphyNavigationActionClass *class)
"Arrow Tooltip",
"Arrow Tooltip",
NULL,
- 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_DIRECTION,
@@ -537,14 +537,14 @@ ephy_navigation_action_class_init (EphyNavigationActionClass *class)
0,
G_MAXINT,
0,
- 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_WINDOW,
g_param_spec_object ("window",
"Window",
"The navigation window",
G_TYPE_OBJECT,
- 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 (EphyNavigationActionPrivate));
}
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index 8203dccf1..ef2790a74 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -277,7 +277,7 @@ ephy_notebook_class_init (EphyNotebookClass *klass)
"DND enabled",
"Whether the notebook allows tab reordering by DND",
TRUE,
- 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_SHOW_TABS,
@@ -285,7 +285,7 @@ ephy_notebook_class_init (EphyNotebookClass *klass)
"Show tabs",
"Whether the notebook shows the tabs bar",
TRUE,
- 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 (EphyNotebookPrivate));
}
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index ceabed0bf..198ef4ecb 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -418,7 +418,7 @@ ephy_tab_class_init (EphyTabClass *class)
"Icon address",
"The tab icon's address",
NULL,
- (G_PARAM_READABLE | G_PARAM_WRITABLE)));
+ (G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)));
g_object_class_install_property (object_class,
PROP_LOAD_PROGRESS,
@@ -480,7 +480,7 @@ ephy_tab_class_init (EphyTabClass *class)
"Popups Allowed",
"Whether popup windows are to be displayed",
FALSE,
- G_PARAM_READABLE | G_PARAM_WRITABLE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
g_object_class_install_property (object_class,
PROP_TITLE,
@@ -496,7 +496,7 @@ ephy_tab_class_init (EphyTabClass *class)
"Typed Address",
"The typed address",
"",
- G_PARAM_READABLE | G_PARAM_WRITABLE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
g_object_class_install_property (object_class,
PROP_VISIBLE,
diff --git a/src/ephy-tabs-menu.c b/src/ephy-tabs-menu.c
index 48f94b8d6..90d6b91ed 100644
--- a/src/ephy-tabs-menu.c
+++ b/src/ephy-tabs-menu.c
@@ -326,7 +326,7 @@ ephy_tabs_menu_class_init (EphyTabsMenuClass *klass)
"Window",
"Parent window",
EPHY_TYPE_WINDOW,
- 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 (EphyTabsMenuPrivate));
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 97f4511e3..77b543630 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2856,7 +2856,7 @@ ephy_window_class_init (EphyWindowClass *klass)
"active-tab",
"Active tab",
EPHY_TYPE_TAB,
- 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_CHROME,
@@ -2866,7 +2866,7 @@ ephy_window_class_init (EphyWindowClass *klass)
EPHY_TYPE_EMBED_CHROME,
EPHY_EMBED_CHROME_ALL,
G_PARAM_CONSTRUCT_ONLY |
- 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_PPV_MODE,
@@ -2874,7 +2874,7 @@ ephy_window_class_init (EphyWindowClass *klass)
"Print preview mode",
"Whether the window is in print preview mode",
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_SINGLE_TAB_MODE,
@@ -2882,7 +2882,7 @@ ephy_window_class_init (EphyWindowClass *klass)
"Is Popup",
"Whether the window is a popup",
FALSE,
- 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 (EphyWindowPrivate));