Author: miguel
Date: 2006-10-30 17:39:02 -0500 (Mon, 30 Oct 2006)
New Revision: 67155
Modified:
trunk/mono/eglib/src/glib.h
trunk/mono/eglib/src/gshell.c
Log:
A few prototypes, a few hacks to keep researching the failures
Modified: trunk/mono/eglib/src/glib.h
===================================================================
--- trunk/mono/eglib/src/glib.h 2006-10-30 22:38:23 UTC (rev 67154)
+++ trunk/mono/eglib/src/glib.h 2006-10-30 22:39:02 UTC (rev 67155)
@@ -173,6 +173,7 @@
void g_error_free (GError *error);
GError *g_error_new (gpointer domain, gint code, const char *format, ...);
void g_set_error (GError **err, gpointer domain, gint code, const gchar
*format, ...);
+void g_propagate_error (GError **dest, GError *src);
/*
* Strings utility
@@ -190,8 +191,11 @@
gboolean g_str_has_suffix (const gchar *str, const gchar *suffix);
guint g_strv_length (gchar **str_array);
gchar *g_strjoin (const gchar *separator, ...);
+gchar *g_strjoinv (const gchar *separator, gchar **str_array);
gchar *g_strchug (gchar *str);
gchar *g_strchomp (gchar *str);
+void g_strdown (gchar *string);
+
gchar *g_strdelimit (gchar *string, const gchar *delimiters, gchar
new_delimiter);
gchar *g_strescape (const gchar *source, const gchar *exceptions);
@@ -679,7 +683,7 @@
/*
* Character set conversion
*/
-gboolean g_get_charset (char **charset);
+gboolean g_get_charset (G_CONST_RETURN char **charset);
gchar *g_locale_to_utf8 (const gchar *opsysstring, gssize len,
gsize *bytes_read, gsize *bytes_written,
GError **error);
Modified: trunk/mono/eglib/src/gshell.c
===================================================================
--- trunk/mono/eglib/src/gshell.c 2006-10-30 22:38:23 UTC (rev 67154)
+++ trunk/mono/eglib/src/gshell.c 2006-10-30 22:39:02 UTC (rev 67155)
@@ -136,13 +136,15 @@
gchar *
g_shell_quote (const gchar *unquoted_string)
{
- g_error ("Not implemented");
- return NULL;
+ //g_error ("Not implemented");
+ return g_strdup (unquoted_string);
+// return NULL;
}
gchar *
g_shell_unquote (const gchar *quoted_string, GError **error)
{
- g_error ("Not implemented");
- return NULL;
+// g_error ("Not implemented");
+ return g_strdup (quoted_string);
+// return NULL;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches