]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkrecentchoosermenu.h
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gtkrecentchoosermenu.h
index 5438ed4798e2076ff9a43cf932e1470abfbe1cd8..0ce04f1049a9dc10f144379cf56f8bdc1af8ffcd 100644 (file)
@@ -1,7 +1,7 @@
 /* GTK - The GIMP Toolkit
  * gtkrecentchoosermenu.h - Recently used items menu widget
  * Copyright (C) 2006, Emmanuele Bassi
- * 
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser 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 <http://www.gnu.org/licenses/>.
  */
 
-#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
-#error "Only <gtk/gtk.h> can be included directly."
-#endif
-
 #ifndef __GTK_RECENT_CHOOSER_MENU_H__
 #define __GTK_RECENT_CHOOSER_MENU_H__
 
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
 #include <gtk/gtkmenu.h>
-#include "gtkrecentchooser.h"
+#include <gtk/gtkrecentchooser.h>
 
 G_BEGIN_DECLS
 
@@ -43,16 +41,16 @@ typedef struct _GtkRecentChooserMenuPrivate GtkRecentChooserMenuPrivate;
 
 struct _GtkRecentChooserMenu
 {
-  /*< private >*/
   GtkMenu parent_instance;
 
+  /*< private >*/
   GtkRecentChooserMenuPrivate *priv;
 };
 
 struct _GtkRecentChooserMenuClass
 {
   GtkMenuClass parent_class;
-  
+
   /* padding for future expansion */
   void (* gtk_recent1) (void);
   void (* gtk_recent2) (void);