diff options
author | Alexander Larsson <alexl@redhat.com> | 2012-01-12 21:27:51 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2012-01-16 14:22:38 +0100 |
commit | 733c890a5d7e4615b754accc0c7906545b9a0b59 (patch) | |
tree | 99453b51df2ebc9983d9acf054d6cc149d68afe5 /libnautilus-private/nautilus-file-utilities.c | |
parent | d6291d9ae62de65deaafd72cf9f5a5e22e627cf3 (diff) | |
download | nautilus-733c890a5d7e4615b754accc0c7906545b9a0b59.tar.gz |
Move all ui files and icons into resources
Diffstat (limited to 'libnautilus-private/nautilus-file-utilities.c')
-rw-r--r-- | libnautilus-private/nautilus-file-utilities.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/libnautilus-private/nautilus-file-utilities.c b/libnautilus-private/nautilus-file-utilities.c index 6e5e28ca3..fda12293e 100644 --- a/libnautilus-private/nautilus-file-utilities.c +++ b/libnautilus-private/nautilus-file-utilities.c @@ -726,41 +726,6 @@ nautilus_get_gmc_desktop_directory (void) return g_build_filename (g_get_home_dir (), LEGACY_DESKTOP_DIRECTORY_NAME, NULL); } -/** - * nautilus_get_pixmap_directory - * - * Get the path for the directory containing Nautilus pixmaps. - * - * Return value: the directory path. - **/ -char * -nautilus_get_pixmap_directory (void) -{ - return g_strdup (DATADIR "/pixmaps/nautilus"); -} - -/* FIXME bugzilla.gnome.org 42423: - * Callers just use this and dereference so we core dump if - * pixmaps are missing. That is lame. - */ -char * -nautilus_pixmap_file (const char *partial_path) -{ - char *path; - - path = g_build_filename (DATADIR "/pixmaps/nautilus", partial_path, NULL); - if (g_file_test (path, G_FILE_TEST_EXISTS)) { - return path; - } else { - char *tmp; - tmp = nautilus_get_pixmap_directory (); - g_debug ("Failed to locate \"%s\" in Nautilus pixmap path \"%s\". Incomplete installation?", partial_path, tmp); - g_free (tmp); - } - g_free (path); - return NULL; -} - char * nautilus_get_data_file_path (const char *partial_path) { |