[gnome-control-center] Use only single GTK+ includes
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Use only single GTK+ includes
- Date: Tue, 13 Apr 2010 17:21:20 +0000 (UTC)
commit 6012559536a7144b85571ffad6b69e0c6e0df646
Author: Javier Jardón <jjardon gnome org>
Date: Sun Apr 11 18:16:59 2010 +0200
Use only single GTK+ includes
https://bugzilla.gnome.org/show_bug.cgi?id=615292
capplets/about-me/e-image-chooser.h | 2 +-
capplets/about-me/eel-alert-dialog.c | 10 +++-------
capplets/about-me/eel-alert-dialog.h | 2 +-
capplets/about-me/gnome-about-me-password.h | 2 +-
4 files changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/capplets/about-me/e-image-chooser.h b/capplets/about-me/e-image-chooser.h
index 852bd76..75c95f1 100644
--- a/capplets/about-me/e-image-chooser.h
+++ b/capplets/about-me/e-image-chooser.h
@@ -21,7 +21,7 @@
#ifndef _E_IMAGE_CHOOSER_H_
#define _E_IMAGE_CHOOSER_H_
-#include <gtk/gtkvbox.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
diff --git a/capplets/about-me/eel-alert-dialog.c b/capplets/about-me/eel-alert-dialog.c
index 6d06f7c..dbfb3c9 100644
--- a/capplets/about-me/eel-alert-dialog.c
+++ b/capplets/about-me/eel-alert-dialog.c
@@ -21,14 +21,10 @@
#include "eel-alert-dialog.h"
#include "eel-gtk-macros.h"
+
+#include <gtk/gtk.h>
#include <glib/gi18n.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtkhbox.h>
-#include <gtk/gtkvbox.h>
-#include <gtk/gtkimage.h>
-#include <gtk/gtkstock.h>
-#include <gtk/gtkiconfactory.h>
-#include <gtk/gtkexpander.h>
+
#include <string.h>
enum {
diff --git a/capplets/about-me/eel-alert-dialog.h b/capplets/about-me/eel-alert-dialog.h
index 4e947f1..aec50df 100644
--- a/capplets/about-me/eel-alert-dialog.h
+++ b/capplets/about-me/eel-alert-dialog.h
@@ -22,7 +22,7 @@
#ifndef EEL_ALERT_DIALOG_H
#define EEL_ALERT_DIALOG_H
-#include <gtk/gtkmessagedialog.h>
+#include <gtk/gtk.h>
#define EEL_TYPE_ALERT_DIALOG (eel_alert_dialog_get_type ())
#define EEL_ALERT_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EEL_TYPE_ALERT_DIALOG, EelAlertDialog))
diff --git a/capplets/about-me/gnome-about-me-password.h b/capplets/about-me/gnome-about-me-password.h
index cd1e00f..d4da18b 100644
--- a/capplets/about-me/gnome-about-me-password.h
+++ b/capplets/about-me/gnome-about-me-password.h
@@ -1,7 +1,7 @@
#ifndef __GNOME_ABOUT_ME_PASSWORD_H__
#define __GNOME_ABOUT_ME_PASSWORD_H__
-#include <gtk/gtkwindow.h>
+#include <gtk/gtk.h>
void
gnome_about_me_password (GtkWindow *parent);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]