summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-background.h
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2000-03-29 02:02:45 +0000
committerDarin Adler <darin@src.gnome.org>2000-03-29 02:02:45 +0000
commit39d18967c53f64348277c4e98b9b773449d0dab0 (patch)
tree5b9ebae5952592e58978c87db99c13751d4db58c /libnautilus-private/nautilus-background.h
parent66d503d189f7c5dd581abe325471d11d0107dfb6 (diff)
downloadnautilus-39d18967c53f64348277c4e98b9b773449d0dab0.tar.gz
Preparing for support for background images.
* libnautilus/nautilus-background.h: * libnautilus/nautilus-background.c: Preparing for support for background images. * libnautilus/nautilus-background.c: * libnautilus/nautilus-debug.c: * libnautilus/nautilus-icon-canvas-item.c: * libnautilus/nautilus-icon-dnd.c: Add those braces that Maciej, John, and the style guide all prefer. * libnautilus/nautilus-file.c: (nautilus_file_set_metadata): A change to metadata is considered a change to the file. * libnautilus/nautilus-graphic-effects.c: * libnautilus/nautilus-graphic-effects.h: Added nautilus_ prefix to all the functions in here. * libnautilus/nautilus-gtk-extensions.c: * libnautilus/nautilus-gtk-extensions.h: (nautilus_point_in_allocation), (nautilus_point_in_widget): Added hit testing help functions that check if a point is in a particular allocation/widget. * libnautilus/nautilus-icon-dnd.c: (get_gnome_icon_list_selection): Fixed a bug that happens when you get a 0-length piece of selection data. * libnautilus/nautilus-icon-dnd.h: Changed the icon list back to "x-gnome-icon-list". That's how the other GNOME folks want it, not "x-nautilus-icon-list". * src/nautilus-index-tabs.c: * src/nautilus-index-tabs.h: * src/nautilus-index-title.c: * src/nautilus-index-title.h: * src/ntl-index-panel.c: * src/ntl-index-panel.h: lite -> light, Other cleanup. * src/nautilus-index-title.c: * src/nautilus-index-title.h: (nautilus_index_title_hit_test_icon): * src/ntl-index-panel.c: (hit_test), (uri_is_local_image), (receive_dropped_uri_list), (receive_dropped_color): Added code needed to support dropping an image on the icon to set a custom icon. This doesn't yet update the icon in the panel itself, but I'll do that soon.
Diffstat (limited to 'libnautilus-private/nautilus-background.h')
-rw-r--r--libnautilus-private/nautilus-background.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libnautilus-private/nautilus-background.h b/libnautilus-private/nautilus-background.h
index 8f7d12e29..be2209b9c 100644
--- a/libnautilus-private/nautilus-background.h
+++ b/libnautilus-private/nautilus-background.h
@@ -43,8 +43,8 @@
#include <gdk/gdktypes.h>
#include <gtk/gtkwidget.h>
-typedef struct _NautilusBackground NautilusBackground;
-typedef struct _NautilusBackgroundClass NautilusBackgroundClass;
+typedef struct NautilusBackground NautilusBackground;
+typedef struct NautilusBackgroundClass NautilusBackgroundClass;
#define NAUTILUS_TYPE_BACKGROUND \
(nautilus_background_get_type ())
@@ -87,15 +87,15 @@ void nautilus_background_receive_dropped_color (NautilusBackground *bac
/* Gets or creates a background so that it's attached to a widget. */
NautilusBackground *nautilus_get_widget_background (GtkWidget *widget);
-typedef struct _NautilusBackgroundDetails NautilusBackgroundDetails;
+typedef struct NautilusBackgroundDetails NautilusBackgroundDetails;
-struct _NautilusBackground
+struct NautilusBackground
{
GtkObject object;
NautilusBackgroundDetails *details;
};
-struct _NautilusBackgroundClass
+struct NautilusBackgroundClass
{
GtkObjectClass parent_class;