[gnome-shell] Use single include for gtk+



commit c8fd1f99d53902a07cc06448cd94d4cae346d9c1
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Sat Apr 18 16:24:36 2009 -0400

    Use single include for gtk+
    
    Merge from gnome-panel
    
    2008-12-09  Vincent Untz  <vuntz gnome org>
    
            * na-tray-manager.[ch]: use single include for gtk+
---
 src/tray/na-tray-manager.c |    4 +---
 src/tray/na-tray-manager.h |    2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/tray/na-tray-manager.c b/src/tray/na-tray-manager.c
index 34af8c7..ebe31d0 100644
--- a/src/tray/na-tray-manager.c
+++ b/src/tray/na-tray-manager.c
@@ -34,9 +34,7 @@
 #elif defined (GDK_WINDOWING_WIN32)
 #include <gdk/gdkwin32.h>
 #endif
-#include <gtk/gtkinvisible.h>
-#include <gtk/gtksocket.h>
-#include <gtk/gtkwindow.h>
+#include <gtk/gtk.h>
 
 #include "na-marshal.h"
 
diff --git a/src/tray/na-tray-manager.h b/src/tray/na-tray-manager.h
index 5391403..f325453 100644
--- a/src/tray/na-tray-manager.h
+++ b/src/tray/na-tray-manager.h
@@ -24,10 +24,10 @@
 #ifndef __NA_TRAY_MANAGER_H__
 #define __NA_TRAY_MANAGER_H__
 
-#include <gtk/gtkwidget.h>
 #ifdef GDK_WINDOWING_X11
 #include <gdk/gdkx.h>
 #endif
+#include <gtk/gtk.h>
 
 #include "na-tray-child.h"
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]