diff --git a/src/libsysprof-analyze/sysprof-strings-private.h b/src/libsysprof-analyze/sysprof-strings-private.h index a4faae2d..8ea14608 100644 --- a/src/libsysprof-analyze/sysprof-strings-private.h +++ b/src/libsysprof-analyze/sysprof-strings-private.h @@ -31,8 +31,6 @@ SysprofStrings *sysprof_strings_ref (SysprofStrings *self); void sysprof_strings_unref (SysprofStrings *self); GRefString *sysprof_strings_get (SysprofStrings *self, const char *string); -GRefString *sysprof_strings_lookup (SysprofStrings *self, - const char *string); #define SYSPROF_STRV_INIT(...) ((const char * const[]){__VA_ARGS__,NULL}) diff --git a/src/libsysprof-analyze/sysprof-strings.c b/src/libsysprof-analyze/sysprof-strings.c index a7c13f4e..421da461 100644 --- a/src/libsysprof-analyze/sysprof-strings.c +++ b/src/libsysprof-analyze/sysprof-strings.c @@ -84,19 +84,3 @@ sysprof_strings_get (SysprofStrings *self, return ret; } - -GRefString * -sysprof_strings_lookup (SysprofStrings *self, - const char *string) -{ - GRefString *ret; - - if (string == NULL) - return NULL; - - g_mutex_lock (&self->mutex); - ret = g_hash_table_lookup (self->hashtable, string); - g_mutex_unlock (&self->mutex); - - return ret; -}