summaryrefslogtreecommitdiff
path: root/libnautilus-extensions/nautilus-preferences.c
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2000-06-18 09:54:57 +0000
committerGeorge Lebl <jirka@src.gnome.org>2000-06-18 09:54:57 +0000
commit30675e99d6a6ffadd366bfe128863c005f5e1d13 (patch)
treea0094251089aa887639100b5d1e0b08cdefa48e7 /libnautilus-extensions/nautilus-preferences.c
parent3db19cf0ab2fc138fd9c1e6c2e3ad6f2bd91d8c9 (diff)
downloadnautilus-30675e99d6a6ffadd366bfe128863c005f5e1d13.tar.gz
s/g_str_freev/g_strfreev/ as that's the correct glib name
Sun Jun 18 02:50:47 2000 George Lebl <jirka@5z.com> * components/help/help-method.c (file_in_info_path): s/g_str_freev/g_strfreev/ as that's the correct glib name * components/help/hyperbola-main.c, components/help/hyperbola-nav-index.c, components/help/hyperbola-nav-search.c components/help/hyperbola-nav-tree.c, components/help/hyperbola-nav.h: Use hyperbola-nav.h as a header to put the prototypes from the hyperbola-nav-*.c files. And include this file in hyperbola-main.c and hyperbola-nav-*.c * libnautilus-extensions/nautilus-global-preferences.c (global_preferences_register_boolean_with_defaults) (global_preferences_register_enum_with_defaults), libnautilus-extensions/nautilus-preferences.c (preferences_hash_node_check_changes_func) (user_level_changed_callback): use GU?INT_TO_POINTER and GPOINTER_TO_U?INT macros to get and pass ints and uints as pointers. * librsvg/rsvg-bpath-util.c, test/nautilus-leak-checker.c: include <string.h> * test/nautilus-leak-checker.c (nautilus_leak_record_malloc) (nautilus_leak_record_realloc) (nautilus_leak_record_free) (print_one_leak): Store pointers in gulongs not guints and when printing size_t, cast to long and use %ld. * test/nautilus-leak-symbol-lookup.c (nautilus_leak_symbol_map_get_offsets): When reading in gint64, check if long is actually 64bit, in which case use %lx otherwise use %Lx for sscanf.
Diffstat (limited to 'libnautilus-extensions/nautilus-preferences.c')
-rw-r--r--libnautilus-extensions/nautilus-preferences.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnautilus-extensions/nautilus-preferences.c b/libnautilus-extensions/nautilus-preferences.c
index fab6e7d12..452af56fb 100644
--- a/libnautilus-extensions/nautilus-preferences.c
+++ b/libnautilus-extensions/nautilus-preferences.c
@@ -333,7 +333,7 @@ preferences_hash_node_check_changes_func (gpointer key,
g_assert (value != NULL);
node = (PreferencesHashNode *) value;
- old_user_level = (guint) user_data;
+ old_user_level = GPOINTER_TO_UINT (user_data);
new_user_level = nautilus_user_level_manager_get_user_level ();
/* FIXME bugzilla.eazel.com 1273:
@@ -579,7 +579,7 @@ user_level_changed_callback (GtkObject *user_level_manager,
g_hash_table_foreach (GLOBAL.preference_table,
preferences_hash_node_check_changes_func,
- (gpointer) GLOBAL.old_user_level);
+ GUINT_TO_POINTER (GLOBAL.old_user_level));
GLOBAL.old_user_level = new_user_level;
}