Commit eb26edd2 authored by Christian Persch's avatar Christian Persch Committed by Christian Persch

No need to make GTypeInfo and GInterfaceInfo static. Bug #362034.

2007-01-18  Christian Persch  <chpe@svn.gnome.org>

	* cut-n-paste-code/libegg/eggtreemultidnd.c:
	(egg_tree_multi_drag_source_get_type):
	* libnautilus-extension/nautilus-column-provider.c:
	(nautilus_column_provider_get_type):
	* libnautilus-extension/nautilus-column.c:
	(nautilus_column_get_type):
	* libnautilus-extension/nautilus-file-info.c:
	(nautilus_file_info_get_type):
	* libnautilus-extension/nautilus-info-provider.c:
	(nautilus_info_provider_get_type):
	* libnautilus-extension/nautilus-location-widget-provider.c:
	(nautilus_location_widget_provider_get_type):
	* libnautilus-extension/nautilus-menu-item.c:
	(nautilus_menu_item_get_type):
	* libnautilus-extension/nautilus-menu-provider.c:
	(nautilus_menu_provider_get_type):
	* libnautilus-extension/nautilus-menu.c: (nautilus_menu_get_type):
	* libnautilus-extension/nautilus-property-page-provider.c:
	(nautilus_property_page_provider_get_type):
	* libnautilus-extension/nautilus-property-page.c:
	(nautilus_property_page_get_type):
	* libnautilus-private/nautilus-cell-renderer-pixbuf-emblem.c:
	(nautilus_cell_renderer_pixbuf_emblem_get_type):
	* libnautilus-private/nautilus-entry.c: (nautilus_entry_get_type):
	* libnautilus-private/nautilus-file.c: (nautilus_file_get_type):
	* libnautilus-private/nautilus-icon-canvas-item.c:
	(nautilus_icon_canvas_item_accessible_get_type),
	(nautilus_icon_canvas_item_get_type):
	* libnautilus-private/nautilus-sidebar-provider.c:
	(nautilus_sidebar_provider_get_type):
	* libnautilus-private/nautilus-sidebar.c:
	(nautilus_sidebar_get_type):
	* libnautilus-private/nautilus-view.c: (nautilus_view_get_type):
	* libnautilus-private/nautilus-window-info.c:
	(nautilus_window_info_get_type):
	* src/file-manager/fm-ditem-page.c: (fm_ditem_page_get_type):
	* src/file-manager/fm-list-model.c: (fm_list_model_get_type):
	* src/file-manager/fm-tree-model.c: (fm_tree_model_get_type):
	* src/nautilus-navigation-action.c:
	(nautilus_navigation_action_get_type): No need to make GTypeInfo and
	GInterfaceInfo static. Bug #362034.

svn path=/trunk/; revision=12700
parent 2962c56d
2007-01-18 Christian Persch <chpe@svn.gnome.org>
* cut-n-paste-code/libegg/eggtreemultidnd.c:
(egg_tree_multi_drag_source_get_type):
* libnautilus-extension/nautilus-column-provider.c:
(nautilus_column_provider_get_type):
* libnautilus-extension/nautilus-column.c:
(nautilus_column_get_type):
* libnautilus-extension/nautilus-file-info.c:
(nautilus_file_info_get_type):
* libnautilus-extension/nautilus-info-provider.c:
(nautilus_info_provider_get_type):
* libnautilus-extension/nautilus-location-widget-provider.c:
(nautilus_location_widget_provider_get_type):
* libnautilus-extension/nautilus-menu-item.c:
(nautilus_menu_item_get_type):
* libnautilus-extension/nautilus-menu-provider.c:
(nautilus_menu_provider_get_type):
* libnautilus-extension/nautilus-menu.c: (nautilus_menu_get_type):
* libnautilus-extension/nautilus-property-page-provider.c:
(nautilus_property_page_provider_get_type):
* libnautilus-extension/nautilus-property-page.c:
(nautilus_property_page_get_type):
* libnautilus-private/nautilus-cell-renderer-pixbuf-emblem.c:
(nautilus_cell_renderer_pixbuf_emblem_get_type):
* libnautilus-private/nautilus-entry.c: (nautilus_entry_get_type):
* libnautilus-private/nautilus-file.c: (nautilus_file_get_type):
* libnautilus-private/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_accessible_get_type),
(nautilus_icon_canvas_item_get_type):
* libnautilus-private/nautilus-sidebar-provider.c:
(nautilus_sidebar_provider_get_type):
* libnautilus-private/nautilus-sidebar.c:
(nautilus_sidebar_get_type):
* libnautilus-private/nautilus-view.c: (nautilus_view_get_type):
* libnautilus-private/nautilus-window-info.c:
(nautilus_window_info_get_type):
* src/file-manager/fm-ditem-page.c: (fm_ditem_page_get_type):
* src/file-manager/fm-list-model.c: (fm_list_model_get_type):
* src/file-manager/fm-tree-model.c: (fm_tree_model_get_type):
* src/nautilus-navigation-action.c:
(nautilus_navigation_action_get_type): No need to make GTypeInfo and
GInterfaceInfo static. Bug #362034.
2007-01-18 Luca Ferretti <elle.uca@libero.it>
* src/nautilus-window-menus.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 */
......
......@@ -38,7 +38,7 @@ nautilus_column_provider_get_type (void)
static GType type = 0;
if (!type) {
static const GTypeInfo info = {
const GTypeInfo info = {
sizeof (NautilusColumnProviderIface),
nautilus_column_provider_base_init,
NULL,
......
......@@ -221,7 +221,7 @@ nautilus_column_get_type (void)
static GType type = 0;
if (!type) {
static const GTypeInfo info = {
const GTypeInfo info = {
sizeof (NautilusColumnClass),
NULL,
NULL,
......
......@@ -60,7 +60,7 @@ nautilus_file_info_get_type (void)
static GType type = 0;
if (!type) {
static const GTypeInfo info = {
const GTypeInfo info = {
sizeof (NautilusFileInfoIface),
nautilus_file_info_base_init,
NULL,
......
......@@ -38,7 +38,7 @@ nautilus_info_provider_get_type (void)
static GType type = 0;
if (!type) {
static const GTypeInfo info = {
const GTypeInfo info = {
sizeof (NautilusInfoProviderIface),
nautilus_info_provider_base_init,
NULL,
......
......@@ -38,7 +38,7 @@ nautilus_location_widget_provider_get_type (void)
static GType type = 0;
if (!type) {
static const GTypeInfo info = {
const GTypeInfo info = {
sizeof (NautilusLocationWidgetProviderIface),
nautilus_location_widget_provider_base_init,
NULL,
......
......@@ -286,7 +286,7 @@ nautilus_menu_item_get_type (void)
static GType type = 0;
if (!type) {
static const GTypeInfo info = {
const GTypeInfo info = {
sizeof (NautilusMenuItemClass),
NULL,
NULL,
......
......@@ -53,7 +53,7 @@ nautilus_menu_provider_get_type (void)
static GType type = 0;
if (!type) {
static const GTypeInfo info = {
const GTypeInfo info = {
sizeof (NautilusMenuProviderIface),
nautilus_menu_provider_base_init,
NULL,
......
......@@ -103,7 +103,7 @@ nautilus_menu_get_type (void)
static GType type = 0;
if(type == 0) {
static const GTypeInfo info = {
const GTypeInfo info = {
sizeof (NautilusMenuClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
......
......@@ -39,7 +39,7 @@ nautilus_property_page_provider_get_type (void)
static GType type = 0;
if (!type) {
static const GTypeInfo info = {
const GTypeInfo info = {
sizeof (NautilusPropertyPageProviderIface),
nautilus_property_page_provider_base_init,
NULL,
......
......@@ -204,7 +204,7 @@ nautilus_property_page_get_type (void)
static GType type = 0;
if (!type) {
static const GTypeInfo info = {
const GTypeInfo info = {
sizeof (NautilusPropertyPageClass),
NULL,
NULL,
......
......@@ -85,7 +85,7 @@ nautilus_cell_renderer_pixbuf_emblem_get_type (void)
static GType cell_pixbuf_type = 0;
if (!cell_pixbuf_type) {
static const GTypeInfo cell_pixbuf_info =
const GTypeInfo cell_pixbuf_info =
{
sizeof (NautilusCellRendererPixbufEmblemClass),
NULL, /* base_init */
......
......@@ -436,14 +436,14 @@ nautilus_entry_get_type (void)
static GType entry_type = 0;
if (entry_type == 0) {
static const GInterfaceInfo editable_info =
const GInterfaceInfo editable_info =
{
(GInterfaceInitFunc) nautilus_entry_editable_init,
NULL,
NULL
};
static const GTypeInfo object_info = {
const GTypeInfo object_info = {
sizeof (NautilusEntryClass),
NULL, /* base_init */
NULL, /* base_finalize */
......
......@@ -149,7 +149,7 @@ nautilus_file_get_type (void)
static GType type = 0;
if (!type) {
static const GTypeInfo info = {
const GTypeInfo info = {
sizeof (NautilusFileClass),
NULL,
NULL,
......@@ -161,7 +161,7 @@ nautilus_file_get_type (void)
(GInstanceInitFunc) nautilus_file_instance_init,
};
static const GInterfaceInfo file_info_iface_info = {
const GInterfaceInfo file_info_iface_info = {
(GInterfaceInitFunc) nautilus_file_info_iface_init,
NULL,
NULL
......
......@@ -3078,21 +3078,21 @@ nautilus_icon_canvas_item_accessible_get_type (void)
static GType type = 0;
if (!type) {
static const GInterfaceInfo atk_image_info = {
const GInterfaceInfo atk_image_info = {
(GInterfaceInitFunc)
nautilus_icon_canvas_item_accessible_image_interface_init,
(GInterfaceFinalizeFunc) NULL,
NULL
};
static const GInterfaceInfo atk_text_info = {
const GInterfaceInfo atk_text_info = {
(GInterfaceInitFunc)
nautilus_icon_canvas_item_accessible_text_interface_init,
(GInterfaceFinalizeFunc) NULL,
NULL
};
static const GInterfaceInfo atk_action_info = {
const GInterfaceInfo atk_action_info = {
(GInterfaceInitFunc)
nautilus_icon_canvas_item_accessible_action_interface_init,
(GInterfaceFinalizeFunc) NULL,
......@@ -3250,7 +3250,7 @@ nautilus_icon_canvas_item_get_type (void)
static GType type = 0;
if (!type) {
static const GTypeInfo info = {
const GTypeInfo info = {
sizeof (NautilusIconCanvasItemClass),
NULL, /* base_init */
NULL, /* base_finalize */
......@@ -3261,7 +3261,7 @@ nautilus_icon_canvas_item_get_type (void)
0, /* n_preallocs */
(GInstanceInitFunc) nautilus_icon_canvas_item_init,
};
static const GInterfaceInfo eel_text_info = {
const GInterfaceInfo eel_text_info = {
(GInterfaceInitFunc)
nautilus_icon_canvas_item_text_interface_init,
(GInterfaceFinalizeFunc) NULL,
......
......@@ -36,7 +36,7 @@ nautilus_sidebar_provider_get_type (void)
static GType type = 0;
if (!type) {
static const GTypeInfo info = {
const GTypeInfo info = {
sizeof (NautilusSidebarProviderIface),
nautilus_sidebar_provider_base_init,
NULL,
......
......@@ -59,7 +59,7 @@ nautilus_sidebar_get_type (void)
static GType type = 0;
if (!type) {
static const GTypeInfo info = {
const GTypeInfo info = {
sizeof (NautilusSidebarIface),
nautilus_sidebar_base_init,
NULL,
......
......@@ -77,7 +77,7 @@ nautilus_view_get_type (void)
static GType type = 0;
if (!type) {
static const GTypeInfo info = {
const GTypeInfo info = {
sizeof (NautilusViewIface),
nautilus_view_base_init,
NULL,
......
......@@ -89,7 +89,7 @@ nautilus_window_info_get_type (void)
static GType type = 0;
if (!type) {
static const GTypeInfo info = {
const GTypeInfo info = {
sizeof (NautilusWindowInfoIface),
nautilus_window_info_base_init,
NULL,
......
......@@ -470,7 +470,7 @@ fm_ditem_page_get_type (void)
static GType provider_type = 0;
if (!provider_type) {
static const GTypeInfo type_info = {
const GTypeInfo type_info = {
sizeof (FMDitemPageClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
......@@ -482,7 +482,7 @@ fm_ditem_page_get_type (void)
(GInstanceInitFunc) fm_ditem_page_instance_init,
};
static const GInterfaceInfo property_page_provider_iface_info = {
const GInterfaceInfo property_page_provider_iface_info = {
(GInterfaceInitFunc) fm_ditem_page_property_page_provider_iface_init,
NULL,
NULL
......
......@@ -1619,7 +1619,7 @@ fm_list_model_get_type (void)
static GType object_type = 0;
if (object_type == 0) {
static const GTypeInfo object_info = {
const GTypeInfo object_info = {
sizeof (FMListModelClass),
NULL, /* base_init */
NULL, /* base_finalize */
......@@ -1631,19 +1631,19 @@ fm_list_model_get_type (void)
(GInstanceInitFunc) fm_list_model_init,
};
static const GInterfaceInfo tree_model_info = {
const GInterfaceInfo tree_model_info = {
(GInterfaceInitFunc) fm_list_model_tree_model_init,
NULL,
NULL
};
static const GInterfaceInfo sortable_info = {
const GInterfaceInfo sortable_info = {
(GInterfaceInitFunc) fm_list_model_sortable_init,
NULL,
NULL
};
static const GInterfaceInfo multi_drag_source_info = {
const GInterfaceInfo multi_drag_source_info = {
(GInterfaceInitFunc) fm_list_model_multi_drag_source_init,
NULL,
NULL
......
......@@ -1878,7 +1878,7 @@ fm_tree_model_get_type (void)
static GType object_type = 0;
if (object_type == 0) {
static const GTypeInfo object_info = {
const GTypeInfo object_info = {
sizeof (FMTreeModelClass),
NULL,
NULL,
......@@ -1890,7 +1890,7 @@ fm_tree_model_get_type (void)
(GInstanceInitFunc) fm_tree_model_init,
};
static const GInterfaceInfo tree_model_info = {
const GInterfaceInfo tree_model_info = {
(GInterfaceInitFunc) fm_tree_model_tree_model_init,
NULL,
NULL
......
......@@ -65,7 +65,7 @@ nautilus_navigation_action_get_type (void)
static GType type = 0;
if (type == 0) {
static const GTypeInfo type_info = {
const GTypeInfo type_info = {
sizeof (NautilusNavigationActionClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment