cvs: php-gtk /ext/gtk+ gtk.overrides

From: Date: Fri, 04 Jan 2002 00:45:51 +0000
Subject: cvs: php-gtk /ext/gtk+ gtk.overrides
Groups: php.gtk.cvs 
Request: Send a blank email to php-gtk-cvs+get-425@lists.php.net to get a copy of this message
fmk Thu Jan 3 19:45:51 2002 EDT Modified files: /php-gtk/ext/gtk+ gtk.overrides Log: Fixing GtkCombo to use UTF-8 convertion on Win32 The first fix was too much a copy and paste. Items should not be freed. Next time I'll actually test before commiting :-) Index: php-gtk/ext/gtk+/gtk.overrides diff -u php-gtk/ext/gtk+/gtk.overrides:1.41 php-gtk/ext/gtk+/gtk.overrides:1.42 --- php-gtk/ext/gtk+/gtk.overrides:1.41 Thu Jan 3 15:33:40 2002 +++ php-gtk/ext/gtk+/gtk.overrides Thu Jan 3 19:45:49 2002 @@ -1065,7 +1065,6 @@ #ifdef PHP_WIN32 utf8_text = g_convert(Z_STRVAL_PP(item), Z_STRLEN_PP(item), "UTF-8", GTK_G(codepage), NULL, NULL, NULL); list = g_list_append(list, utf8_text); - if (utf8_text) g_free(utf8_text); #else list = g_list_append(list, Z_STRVAL_PP(item)); #endif

« previous php.gtk.cvs (#425) next »