summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-global-preferences.c
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2001-10-28 20:21:52 +0000
committerDarin Adler <darin@src.gnome.org>2001-10-28 20:21:52 +0000
commit5abcc1995419a91bebe2e42a5218a374e36533c3 (patch)
tree2f6c9699dc992039a973b0bd058aebfa2d820669 /libnautilus-private/nautilus-global-preferences.c
parentb36a91ca55636af4137615a88c6e70a6dffe7802 (diff)
downloadnautilus-5abcc1995419a91bebe2e42a5218a374e36533c3.tar.gz
More GNOME 2 work. We now compile up to libnautilus-private and I'm
* Lots of files: More GNOME 2 work. We now compile up to libnautilus-private and I'm working my way through the files in there. Also changed all the initialize_class and initialize to class_init and init.
Diffstat (limited to 'libnautilus-private/nautilus-global-preferences.c')
-rw-r--r--libnautilus-private/nautilus-global-preferences.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libnautilus-private/nautilus-global-preferences.c b/libnautilus-private/nautilus-global-preferences.c
index 225bf418c..b7ed52222 100644
--- a/libnautilus-private/nautilus-global-preferences.c
+++ b/libnautilus-private/nautilus-global-preferences.c
@@ -882,18 +882,18 @@ get_default_folder_viewer_preference_from_iid (const char *iid)
static gpointer
default_default_folder_viewer_callback (int user_level)
{
- OAF_ServerInfo *oaf_info;
+ Bonobo_ServerInfo *bonobo_activation_info;
int result;
- oaf_info = gnome_vfs_mime_get_default_component ("x-directory/normal");
- if (oaf_info == NULL) {
+ bonobo_activation_info = gnome_vfs_mime_get_default_component ("x-directory/normal");
+ if (bonobo_activation_info == NULL) {
result = NAUTILUS_DEFAULT_FOLDER_VIEWER_ICON_VIEW;
} else {
- result = get_default_folder_viewer_preference_from_iid (oaf_info->iid);
+ result = get_default_folder_viewer_preference_from_iid (bonobo_activation_info->iid);
if (result == NAUTILUS_DEFAULT_FOLDER_VIEWER_OTHER) {
result = NAUTILUS_DEFAULT_FOLDER_VIEWER_ICON_VIEW;
}
- CORBA_free (oaf_info);
+ CORBA_free (bonobo_activation_info);
}
return GINT_TO_POINTER (result);
@@ -1072,7 +1072,7 @@ default_icon_view_sort_order_or_manual_layout_changed_callback (gpointer callbac
}
void
-nautilus_global_preferences_initialize (void)
+nautilus_global_preferences_init (void)
{
static gboolean initialized = FALSE;
@@ -1082,7 +1082,7 @@ nautilus_global_preferences_initialize (void)
initialized = TRUE;
- eel_preferences_initialize ("/apps/nautilus");
+ eel_preferences_init ("/apps/nautilus");
/* Install defaults */
global_preferences_install_defaults ();