diff options
author | Stefano Karapetsas <[email protected]> | 2012-11-05 14:08:40 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-11-05 14:08:40 -0800 |
commit | 0d97b91e417fda108955b155cc287db086850c81 (patch) | |
tree | 5fd33bf86621b0de3aa2cb30b7b940f74c979749 /src/glib-utils.h | |
parent | 8f8784ba4ebcd8eb099c4e119a9a8d5a349efd61 (diff) | |
parent | 61fe44bd16be34d89b127f403b3e07d63aa67e89 (diff) | |
download | engrampa-0d97b91e417fda108955b155cc287db086850c81.tar.bz2 engrampa-0d97b91e417fda108955b155cc287db086850c81.tar.xz |
Merge pull request #7 from NiceandGently/master
port to gsettings
Diffstat (limited to 'src/glib-utils.h')
-rw-r--r-- | src/glib-utils.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/glib-utils.h b/src/glib-utils.h index fdd746a..dcc64a5 100644 --- a/src/glib-utils.h +++ b/src/glib-utils.h @@ -29,6 +29,13 @@ g_signal_handlers_disconnect_matched ((instance), G_SIGNAL_MATCH_DATA, \ 0, 0, NULL, NULL, (data)) +/* gobject utils */ + +gpointer _g_object_ref (gpointer object); +void _g_object_unref (gpointer object); + +/* string utils */ + gboolean strchrs (const char *str, const char *chars); char * str_substitute (const char *str, @@ -69,6 +76,10 @@ int g_ptr_array_binary_search (GPtrArray *array, GCompareFunc func); const char * get_static_string (const char *s); char* g_uri_display_basename (const char *uri); +char ** _g_strv_prepend (char **str_array, + const char *str); +gboolean _g_strv_remove (char **str_array, + const char *str); /**/ |