diff options
author | raveit <[email protected]> | 2012-11-05 17:14:51 +0100 |
---|---|---|
committer | raveit <[email protected]> | 2012-11-05 17:14:51 +0100 |
commit | e06e9b088a12dd098e11110f7d0d77ab8032e4eb (patch) | |
tree | 40a96b1b0e2ccd44771f5000e374e1920764ae59 /src/glib-utils.h | |
parent | 8f8784ba4ebcd8eb099c4e119a9a8d5a349efd61 (diff) | |
download | engrampa-e06e9b088a12dd098e11110f7d0d77ab8032e4eb.tar.bz2 engrampa-e06e9b088a12dd098e11110f7d0d77ab8032e4eb.tar.xz |
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); /**/ |