X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtktreednd.h;h=934d003a6432393984c9924aebe7d1d924b77d0b;hb=45ad8a06ad511ad95a74172172b9fe459bc666ad;hp=49c6dabd67ec5c51f07a7283f8098902001fbacf;hpb=8ccfa3edb95ed3fb5d0ba4f3c0a46e8c729a768e;p=~andy%2Fgtk diff --git a/gtk/gtktreednd.h b/gtk/gtktreednd.h index 49c6dabd6..934d003a6 100644 --- a/gtk/gtktreednd.h +++ b/gtk/gtktreednd.h @@ -12,20 +12,20 @@ * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ #ifndef __GTK_TREE_DND_H__ #define __GTK_TREE_DND_H__ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + #include #include -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define GTK_TYPE_TREE_DRAG_SOURCE (gtk_tree_drag_source_get_type ()) #define GTK_TREE_DRAG_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_DRAG_SOURCE, GtkTreeDragSource)) @@ -118,10 +118,6 @@ gboolean gtk_tree_get_row_drag_data (GtkSelectionData *selection_dat GtkTreeModel **tree_model, GtkTreePath **path); - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - +G_END_DECLS #endif /* __GTK_TREE_DND_H__ */