diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-11-08 20:47:18 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-11-08 20:47:18 +0800 |
commit | 82c9d32820f4746129cfc2a57fee4eed78af5b78 (patch) | |
tree | 81378575fc2bcaf3e25aef2f798209c47b5d4272 /src | |
parent | 003cc31d9db5de711c89915c916b77e9e910d59f (diff) | |
download | gsoc2013-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 'src')
-rw-r--r-- | src/bookmarks/ephy-bookmark-action.c | 2 | ||||
-rw-r--r-- | src/bookmarks/ephy-bookmark-properties.c | 4 | ||||
-rw-r--r-- | src/bookmarks/ephy-bookmarks-editor.c | 2 | ||||
-rw-r--r-- | src/bookmarks/ephy-new-bookmark.c | 4 | ||||
-rw-r--r-- | src/bookmarks/ephy-topic-action.c | 2 | ||||
-rw-r--r-- | src/bookmarks/ephy-topics-selector.c | 4 | ||||
-rw-r--r-- | src/ephy-encoding-menu.c | 2 | ||||
-rw-r--r-- | src/ephy-history-window.c | 2 | ||||
-rw-r--r-- | src/ephy-location-action.c | 14 | ||||
-rw-r--r-- | src/ephy-navigation-action.c | 6 | ||||
-rw-r--r-- | src/ephy-notebook.c | 4 | ||||
-rw-r--r-- | src/ephy-tab.c | 6 | ||||
-rw-r--r-- | src/ephy-tabs-menu.c | 2 | ||||
-rw-r--r-- | src/ephy-window.c | 8 |
14 files changed, 31 insertions, 31 deletions
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)); |