zenity r1463 - in trunk: . src
- From: lucasr svn gnome org
- To: svn-commits-list gnome org
- Subject: zenity r1463 - in trunk: . src
- Date: Fri, 9 Jan 2009 00:14:01 +0000 (UTC)
Author: lucasr
Date: Fri Jan 9 00:14:01 2009
New Revision: 1463
URL: http://svn.gnome.org/viewvc/zenity?rev=1463&view=rev
Log:
2009-01-09 Lucas Rocha <lucasr gnome org>
* src/tree.c:
GNOME Goal: Remove deprecated GLib symbols (Fixes bug #560452).
Patch from Frederic Peters <fpeters 0d be>.
Modified:
trunk/ChangeLog
trunk/src/tree.c
Modified: trunk/src/tree.c
==============================================================================
--- trunk/src/tree.c (original)
+++ trunk/src/tree.c Fri Jan 9 00:14:01 2009
@@ -150,7 +150,7 @@
}
if (toggles && column_count == 0) {
- if (strcmp (g_strdown (zenity_util_strip_newline (string->str)), "true") == 0)
+ if (strcmp (g_ascii_strdown (zenity_util_strip_newline (string->str), -1), "true") == 0)
gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, TRUE, -1);
else
gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, FALSE, -1);
@@ -228,7 +228,7 @@
for (j = 0; j < n_columns; j++) {
if (toggles && j == 0) {
- if (strcmp (g_strdown ((gchar *) args[i+j]), "true") == 0)
+ if (strcmp (g_ascii_strdown ((gchar *) args[i+j], -1), "true") == 0)
gtk_list_store_set (GTK_LIST_STORE (model), &iter, j, TRUE, -1);
else
gtk_list_store_set (GTK_LIST_STORE (model), &iter, j, FALSE, -1);
@@ -302,7 +302,7 @@
n_columns = g_slist_length (tree_data->columns);
if (tree_data->print_column) {
- if (strcmp (g_strdown (tree_data->print_column), "all") == 0)
+ if (strcmp (g_ascii_strdown (tree_data->print_column, -1), "all") == 0)
print_all_columns = TRUE;
else
print_columns = zenity_tree_extract_column_indexes (tree_data->print_column, n_columns);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]