aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/ChangeLog6
-rw-r--r--widgets/misc/e-calendar-item.c5
-rw-r--r--widgets/misc/e-calendar.c5
-rw-r--r--widgets/misc/e-cell-date-edit.c7
-rw-r--r--widgets/misc/e-clipped-label.c9
-rw-r--r--widgets/misc/e-dateedit.c4
-rw-r--r--widgets/misc/e-dropdown-button.c4
7 files changed, 30 insertions, 10 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index e17091a210..e0fcf0bdca 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,9 @@
+2001-04-24 Kjartan Maraas <kmaraas@gnome.org>
+
+ * e-calendar-item.c, e-calendar.c, e-cell-date-edit.c,
+ e-clipped-label.c: Added #include <glib.h> and moved
+ corresponding local headers to the top.
+
2001-04-15 Federico Mena Quintero <federico@ximian.com>
* e-search-bar.c (e_search_bar_get_option_choice): New function,
diff --git a/widgets/misc/e-calendar-item.c b/widgets/misc/e-calendar-item.c
index 32b2c62d33..e17bf6aa62 100644
--- a/widgets/misc/e-calendar-item.c
+++ b/widgets/misc/e-calendar-item.c
@@ -27,6 +27,9 @@
*/
#include <config.h>
+
+#include "e-calendar-item.h"
+
#include <time.h>
#include <string.h>
#include <glib.h>
@@ -37,8 +40,6 @@
#include <libgnome/gnome-defs.h>
#include <libgnome/gnome-i18n.h>
#include <gal/util/e-util.h>
-#include "e-calendar-item.h"
-
/*
* These are the padding sizes between various pieces of the calendar.
diff --git a/widgets/misc/e-calendar.c b/widgets/misc/e-calendar.c
index fcebf5285a..b0cc00a13f 100644
--- a/widgets/misc/e-calendar.c
+++ b/widgets/misc/e-calendar.c
@@ -31,13 +31,16 @@
*/
#include <config.h>
+
+#include "e-calendar.h"
+
+#include <glib.h>
#include <gtk/gtkbutton.h>
#include <gtk/gtkmain.h>
#include <gtk/gtkpixmap.h>
#include <gtk/gtksignal.h>
#include <libgnomeui/gnome-canvas-widget.h>
#include <gal/util/e-util.h>
-#include "e-calendar.h"
#define E_CALENDAR_SMALL_FONT \
"-adobe-utopia-regular-r-normal-*-*-100-*-*-p-*-iso8859-*"
diff --git a/widgets/misc/e-cell-date-edit.c b/widgets/misc/e-cell-date-edit.c
index 8f64684db6..7cd54891f7 100644
--- a/widgets/misc/e-cell-date-edit.c
+++ b/widgets/misc/e-cell-date-edit.c
@@ -28,7 +28,12 @@
*/
#include <config.h>
+
+#include "e-cell-date-edit.h"
+
+#include <string.h>
#include <time.h>
+#include <glib.h>
#include <gdk/gdkkeysyms.h>
#include <gal/util/e-util.h>
#include <gal/e-table/e-table-item.h>
@@ -36,8 +41,6 @@
#include <libgnomeui/gnome-stock.h>
#include <libgnome/gnome-i18n.h>
#include "e-util/e-time-utils.h"
-#include "e-cell-date-edit.h"
-
/* This depends on ECalendar which is why I didn't put it in gal. */
#include "e-calendar.h"
diff --git a/widgets/misc/e-clipped-label.c b/widgets/misc/e-clipped-label.c
index aaabd52daf..8675b544dd 100644
--- a/widgets/misc/e-clipped-label.c
+++ b/widgets/misc/e-clipped-label.c
@@ -30,15 +30,20 @@
* of text (so no wrapping/justification), without underlined characters.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "e-clipped-label.h"
+
#include <math.h>
#include <string.h>
+#include <glib.h>
#include <gdk/gdki18n.h>
#include <libgnome/gnome-defs.h>
#include <libgnome/gnome-i18n.h>
-#include "e-clipped-label.h"
-
static void e_clipped_label_class_init (EClippedLabelClass *class);
static void e_clipped_label_init (EClippedLabel *label);
diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c
index 44a0b7b4e4..af8c968f50 100644
--- a/widgets/misc/e-dateedit.c
+++ b/widgets/misc/e-dateedit.c
@@ -34,6 +34,9 @@
#define _XOPEN_SOURCE 4
#include <config.h>
+
+#include "e-dateedit.h"
+
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
@@ -57,7 +60,6 @@
#include <gtk/gtkvbox.h>
#include <libgnome/gnome-defs.h>
#include <libgnome/gnome-i18n.h>
-#include "e-dateedit.h"
#include "e-calendar.h"
diff --git a/widgets/misc/e-dropdown-button.c b/widgets/misc/e-dropdown-button.c
index 128b003ef9..334cab878f 100644
--- a/widgets/misc/e-dropdown-button.c
+++ b/widgets/misc/e-dropdown-button.c
@@ -27,6 +27,8 @@
#include <config.h>
#endif
+#include "e-dropdown-button.h"
+
#include <stdio.h>
#include <gtk/gtkarrow.h>
@@ -35,8 +37,6 @@
#include <libgnomeui/gnome-popup-menu.h>
#include <gal/util/e-util.h>
-#include "e-dropdown-button.h"
-
struct _EDropdownButtonPrivate {
GtkAccelGroup *accel_group;