diff options
author | rbuj <[email protected]> | 2019-03-05 19:23:42 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-03-29 16:31:09 +0100 |
commit | 8f568265bf65f4c7bdc19738f91b4e98ed826394 (patch) | |
tree | 0411fe29c22fe69e644e1c3242d22b39327b89c8 /eel/eel-string.h | |
parent | 26800580d62402e4b3390743205fefe2732ac394 (diff) | |
download | caja-8f568265bf65f4c7bdc19738f91b4e98ed826394.tar.bz2 caja-8f568265bf65f4c7bdc19738f91b4e98ed826394.tar.xz |
eel: replace eel_ref_str with GRefString
GNOME/nautilus@b4d200f
https://developer.gnome.org/glib/stable/glib-Reference-counted-strings.html
Diffstat (limited to 'eel/eel-string.h')
-rw-r--r-- | eel/eel-string.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/eel/eel-string.h b/eel/eel-string.h index 929d11a2..27c829e8 100644 --- a/eel/eel-string.h +++ b/eel/eel-string.h @@ -79,16 +79,6 @@ char * eel_str_replace_substring (const char *str, const char *substring, const char *replacement); -typedef char * eel_ref_str; - -eel_ref_str eel_ref_str_new (const char *string); -eel_ref_str eel_ref_str_get_unique (const char *string); -eel_ref_str eel_ref_str_ref (eel_ref_str str); -void eel_ref_str_unref (eel_ref_str str); - -#define eel_ref_str_peek(__str) ((const char *)(__str)) - - typedef struct { char character; |