Hiroyuki Ikezoe
ikezo****@users*****
Sun Dec 31 10:36:04 JST 2006
Index: kazehakase/src/prefs_ui/prefs_history.c diff -u kazehakase/src/prefs_ui/prefs_history.c:1.16 kazehakase/src/prefs_ui/prefs_history.c:1.17 --- kazehakase/src/prefs_ui/prefs_history.c:1.16 Wed Dec 6 16:08:23 2006 +++ kazehakase/src/prefs_ui/prefs_history.c Sun Dec 31 10:36:04 2006 @@ -90,10 +90,10 @@ cb_optimize_button_clicked (GtkButton *button, KzPrefsHistory *prefsui) { GPid pid; - if (kz_search) + if (KZ_GET_SEARCH) { gtk_widget_set_sensitive(GTK_WIDGET(button), FALSE); - pid = kz_search_optimize_index(kz_search); + pid = kz_search_optimize_index(KZ_GET_SEARCH); gtk_widget_set_sensitive(GTK_WIDGET(button), TRUE); } } Index: kazehakase/src/prefs_ui/prefs_proxy.c diff -u kazehakase/src/prefs_ui/prefs_proxy.c:1.19 kazehakase/src/prefs_ui/prefs_proxy.c:1.20 --- kazehakase/src/prefs_ui/prefs_proxy.c:1.19 Sun Feb 13 22:20:36 2005 +++ kazehakase/src/prefs_ui/prefs_proxy.c Sun Dec 31 10:36:04 2006 @@ -801,11 +801,11 @@ } #define KZ_CONF_PROXY_SET(s, k, v, t) \ - kz_profile_set_value(kz_proxy, \ + kz_profile_set_value(KZ_GET_PROXY, \ s, k, &(v), sizeof(v), \ KZ_PROFILE_VALUE_TYPE_##t) #define KZ_CONF_PROXY_SET_STR(s, k, v) \ - kz_profile_set_value(kz_proxy, \ + kz_profile_set_value(KZ_GET_PROXY, \ s, k, \ (gchar *)v, \ strlen((gchar *)v) + 1, \ @@ -828,9 +828,9 @@ (GTK_TOGGLE_BUTTON(prefsui->use_proxy)); KZ_CONF_SET("Global", "use_proxy", use_proxy, BOOL); - list = kz_profile_enum_section(kz_proxy); + list = kz_profile_enum_section(KZ_GET_PROXY); for (node = list; node; node = g_list_next(node)) - kz_profile_delete_section(kz_proxy, node->data); + kz_profile_delete_section(KZ_GET_PROXY, node->data); g_list_free(list); for (exist = gtk_tree_model_get_iter_first(model, &iter); @@ -919,7 +919,7 @@ } else { - kz_profile_delete_key(kz_global_profile, "Global", "proxy_name"); + kz_profile_delete_key(KZ_GET_GLOBAL_PROFILE, "Global", "proxy_name"); } }