summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-directory-background.h
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2002-02-21 19:26:52 +0000
committerDarin Adler <darin@src.gnome.org>2002-02-21 19:26:52 +0000
commite4615d84461ab5703fa7653b01e737584f17ac23 (patch)
treee2caba2b312aae9c0e306299929c348b2ea00772 /libnautilus-private/nautilus-directory-background.h
parent004fb1ff2ca1a1da0827e212b5e3161105ea88ad (diff)
downloadnautilus-e4615d84461ab5703fa7653b01e737584f17ac23.tar.gz
Remove nautilus-desktop-file-loader.[ch]. Remove. Remove.
* libnautilus-private/Makefile.am: Remove nautilus-desktop-file-loader.[ch]. * libnautilus-private/nautilus-desktop-file-loader.c: Remove. * libnautilus-private/nautilus-desktop-file-loader.h: Remove. * libnautilus-private/nautilus-directory-async.c: (link_info_nautilus_link_read_callback): Pass in NULL for the new optional URI parameter for parsing existing link files. * libnautilus-private/nautilus-link-desktop-file.h: * libnautilus-private/nautilus-link-desktop-file.c: Change to use GnomeDesktopItem instead of NautilusDesktopFile. * libnautilus-private/nautilus-link.h: * libnautilus-private/nautilus-link.c: (nautilus_link_get_link_uri_given_file_contents), (nautilus_link_get_link_name_given_file_contents), (nautilus_link_get_link_icon_given_file_contents): Add optional URI parameter for parsing existing link files. This is passed down to the GnomeDesktopItem level, which can sometimes do a better job if it knows the URI. * src/file-manager/fm-directory-view.c: (activate_callback): Change to use GnomeDesktopItem instead of NautilusDesktopFile. Also, simplify error handling. * Many files: Fix includes to use <> style in headers more consistently, and remove unnecessarily includes.
Diffstat (limited to 'libnautilus-private/nautilus-directory-background.h')
-rw-r--r--libnautilus-private/nautilus-directory-background.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/libnautilus-private/nautilus-directory-background.h b/libnautilus-private/nautilus-directory-background.h
index d168ea223..e318aed4f 100644
--- a/libnautilus-private/nautilus-directory-background.h
+++ b/libnautilus-private/nautilus-directory-background.h
@@ -24,16 +24,14 @@
Author: Darin Adler <darin@bentspoon.com>
*/
-#include <gtk/gtkwidget.h>
-#include "nautilus-file.h"
#include <eel/eel-background.h>
-#include "libnautilus-private/nautilus-icon-container.h"
-
-void nautilus_connect_background_to_file_metadata (GtkWidget *widget,
- NautilusFile *file);
-void nautilus_connect_desktop_background_to_file_metadata (NautilusIconContainer *icon_container,
- NautilusFile *file);
-void nautilus_connect_background_to_file_metadata_by_uri (GtkWidget *widget,
- const char *uri);
-gboolean nautilus_file_background_is_set (EelBackground *background);
+#include <libnautilus-private/nautilus-file.h>
+#include <libnautilus-private/nautilus-icon-container.h>
+void nautilus_connect_background_to_file_metadata (GtkWidget *widget,
+ NautilusFile *file);
+void nautilus_connect_desktop_background_to_file_metadata (NautilusIconContainer *icon_container,
+ NautilusFile *file);
+void nautilus_connect_background_to_file_metadata_by_uri (GtkWidget *widget,
+ const char *uri);
+gboolean nautilus_file_background_is_set (EelBackground *background);