diff options
author | Federico Mena Quintero <federico@gnome.org> | 2011-09-06 18:11:19 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2012-09-03 20:38:11 -0500 |
commit | 660bef2ec2939e49899a1267a4f518b5806fb1c7 (patch) | |
tree | 28354a42a66aba05998e9b04afb68760f2ca6ffc /gtk/gtkplacessidebar.h | |
parent | d2050e5812a248d5ab4b2f76af8b230f400e864e (diff) | |
download | gtk+-660bef2ec2939e49899a1267a4f518b5806fb1c7.tar.gz |
Replace 'NautilusPlacesSidebar' with 'GtkPlacesSidebar'
Function names are of course of the form gtk_places_sidebar_*() now.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Diffstat (limited to 'gtk/gtkplacessidebar.h')
-rw-r--r-- | gtk/gtkplacessidebar.h | 39 |
1 files changed, 18 insertions, 21 deletions
diff --git a/gtk/gtkplacessidebar.h b/gtk/gtkplacessidebar.h index 470b82555d..9cedb55357 100644 --- a/gtk/gtkplacessidebar.h +++ b/gtk/gtkplacessidebar.h @@ -1,8 +1,9 @@ /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* - * Nautilus + * GtkPlacesSidebar - sidebar widget for places in the filesystem * + * This code comes from Nautilus, GNOME's file manager. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -21,30 +22,26 @@ * Author : Mr Jamie McCracken (jamiemcc at blueyonder dot co dot uk) * */ -#ifndef _NAUTILUS_PLACES_SIDEBAR_H -#define _NAUTILUS_PLACES_SIDEBAR_H - -#include "nautilus-window.h" +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only <gtk/gtk.h> can be included directly." +#endif -#include <gtk/gtk.h> +#ifndef __GTK_PLACES_SIDEBAR_H__ +#define __GTK_PLACES_SIDEBAR_H__ -#define NAUTILUS_PLACES_SIDEBAR_ID "places" +#include <gtk/gtkwidget.h> -#define NAUTILUS_TYPE_PLACES_SIDEBAR nautilus_places_sidebar_get_type() -#define NAUTILUS_PLACES_SIDEBAR(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST ((obj), NAUTILUS_TYPE_PLACES_SIDEBAR, NautilusPlacesSidebar)) -#define NAUTILUS_PLACES_SIDEBAR_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_PLACES_SIDEBAR, NautilusPlacesSidebarClass)) -#define NAUTILUS_IS_PLACES_SIDEBAR(obj) \ - (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NAUTILUS_TYPE_PLACES_SIDEBAR)) -#define NAUTILUS_IS_PLACES_SIDEBAR_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_PLACES_SIDEBAR)) -#define NAUTILUS_PLACES_SIDEBAR_GET_CLASS(obj) \ - (G_TYPE_INSTANCE_GET_CLASS ((obj), NAUTILUS_TYPE_PLACES_SIDEBAR, NautilusPlacesSidebarClass)) +#define GTK_TYPE_PLACES_SIDEBAR (gtk_places_sidebar_get_type ()) +#define GTK_PLACES_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PLACES_SIDEBAR, GtkPlacesSidebar)) +#define GTK_PLACES_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PLACES_SIDEBAR, GtkPlacesSidebarClass)) +#define GTK_IS_PLACES_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PLACES_SIDEBAR)) +#define GTK_IS_PLACES_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PLACES_SIDEBAR)) +#define GTK_PLACES_SIDEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PLACES_SIDEBAR, GtkPlacesSidebarClass)) -GType nautilus_places_sidebar_get_type (void); -GtkWidget * nautilus_places_sidebar_new (NautilusWindow *window); +GType gtk_places_sidebar_get_type (void); +GtkWidget *gtk_places_sidebar_new (void); +G_END_DECLS -#endif +#endif /* __GTK_PLACES_SIDEBAR_H__ */ |