From 529f8a142ef1b5cf04062216a442c5f492ec12e0 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 27 Oct 2004 19:54:57 +0000 Subject: Private data is 0-initialised, no need to set members to NULL, 0, or 2004-10-27 Christian Persch * embed/ephy-embed-dialog.c: (ephy_embed_dialog_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_init), (ephy_embed_persist_to_string): * embed/ephy-embed-shell.c: (ephy_embed_shell_init): * embed/find-dialog.c: (find_dialog_init): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * lib/ephy-dialog.c: (ephy_dialog_set_modal), (ephy_dialog_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_init): * lib/ephy-node-db.c: (ephy_node_db_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_init): * lib/widgets/ephy-search-entry.c: (ephy_search_entry_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_init): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_init): * src/ephy-favicon-action.c: (ephy_favicon_action_init): * src/ephy-location-action.c: (ephy_location_action_init): * src/ephy-notebook.c: (ephy_notebook_init): * src/ephy-session.c: (ephy_session_init): * src/ephy-shell.c: (ephy_shell_init): * src/ephy-tab.c: (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_init): * src/ephy-window.c: (ephy_window_init): * src/pdm-dialog.c: (pdm_dialog_init): * src/ppview-toolbar.c: (ppview_toolbar_init): Private data is 0-initialised, no need to set members to NULL, 0, or FALSE. --- src/ephy-shell.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/ephy-shell.c') diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 49ff5d9a7..78ad65c59 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -175,16 +175,6 @@ ephy_shell_init (EphyShell *shell) shell->priv = EPHY_SHELL_GET_PRIVATE (shell); - shell->priv->session = NULL; - shell->priv->bookmarks = NULL; - shell->priv->bme = NULL; - shell->priv->history_window = NULL; - shell->priv->pdm_dialog = NULL; - shell->priv->print_setup_dialog = NULL; - shell->priv->toolbars_model = NULL; - shell->priv->fs_toolbars_model = NULL; - shell->priv->extensions_manager = NULL; - /* globally accessible singleton */ g_assert (ephy_shell == NULL); ephy_shell = shell; -- cgit v1.2.3