[nautilus-share] Use single <gtk/gtk.h> include



commit 6c0fa271dd892230ff3a28cb238fd7992bdeefeb
Author: Chow Loong Jin <hyperair ubuntu com>
Date:   Fri Jun 10 08:26:05 2011 +0800

    Use single <gtk/gtk.h> include
    
    Non-single-header includes are deprecated in gtk3, it seems. And this seems to
    work fine for gtk2 as well.

 src/nautilus-share.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/nautilus-share.c b/src/nautilus-share.c
index 361b751..e706f0e 100644
--- a/src/nautilus-share.c
+++ b/src/nautilus-share.c
@@ -37,12 +37,7 @@
 
 #include <gio/gio.h>
 
-#include <gtk/gtktable.h>
-#include <gtk/gtkvbox.h>
-#include <gtk/gtkhbox.h>
-#include <gtk/gtklabel.h>
 #include <gtk/gtk.h>
-#include <gtk/gtkentry.h>
 
 #include <string.h>
 #include <time.h>



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