summaryrefslogtreecommitdiffstats
path: root/eglib
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-01-21 16:22:36 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-01-21 16:22:36 +0000
commit8f490d50d839a9a0f5efe212faa88c7940c553b5 (patch)
treeec40ef89340496234d264626a46cbdeb308aef17 /eglib
parente01817fc7452ab718fd6d1c7e71b8d051f4104f2 (diff)
Get rid of g_shell_parse_argv and g_strdup_printf since they are not needed anymore
Diffstat (limited to 'eglib')
-rw-r--r--eglib/gmain.c27
-rw-r--r--eglib/gmain.h7
2 files changed, 0 insertions, 34 deletions
diff --git a/eglib/gmain.c b/eglib/gmain.c
index 8132d635..714aba13 100644
--- a/eglib/gmain.c
+++ b/eglib/gmain.c
@@ -1160,22 +1160,6 @@ gchar *g_strdup(const gchar *str)
return s;
}
-gchar *g_strdup_printf(const gchar *format, ...)
-{
- gchar str[1024];
- va_list ap;
-
- memset(str, 0, sizeof(str));
-
- va_start(ap, format);
-
- vsnprintf(str, sizeof(str) - 1, format, ap);
-
- va_end(ap);
-
- return g_strdup(str);
-}
-
void g_strfreev(gchar **str_array)
{
int i;
@@ -1189,17 +1173,6 @@ void g_strfreev(gchar **str_array)
g_free(str_array);
}
-/* g_shell_* */
-
-gboolean g_shell_parse_argv(const gchar *command_line,
- gint *argcp,
- gchar ***argvp,
- GError **error)
-{
- /* Not implemented */
- return FALSE;
-}
-
/* GKeyFile */
typedef gpointer GHashTable;
diff --git a/eglib/gmain.h b/eglib/gmain.h
index 418c9476..369602d8 100644
--- a/eglib/gmain.h
+++ b/eglib/gmain.h
@@ -200,7 +200,6 @@ gpointer g_try_malloc0(gulong n_bytes);
void g_free(gpointer mem);
gchar *g_strdup(const gchar *str);
-gchar *g_strdup_printf(const gchar *format, ...);
void g_strfreev(gchar **str_array);
#define g_new(struct_type, n_structs) \
@@ -212,12 +211,6 @@ void g_strfreev(gchar **str_array);
#define g_try_new0(struct_type, n_structs) \
((struct_type *) g_try_malloc0 (((gsize) sizeof (struct_type)) * ((gsize) (n_structs))))
-/* g_shell_* */
-gboolean g_shell_parse_argv(const gchar *command_line,
- gint *argcp,
- gchar ***argvp,
- GError **error);
-
/* GKeyFile */
typedef enum {