[evolution-patches] Cleanups for evolution/e-util
- From: Kjartan Maraas <kmaraas broadpark no>
- To: evolution-patches <evolution-patches gnome org>
- Subject: [evolution-patches] Cleanups for evolution/e-util
- Date: Tue, 29 Aug 2006 21:07:39 +0200
More of the same.
Cheers
Kjartan
? e-system.error
Index: e-dialog-utils.c
===================================================================
RCS file: /cvs/gnome/evolution/e-util/e-dialog-utils.c,v
retrieving revision 1.27
diff -u -p -r1.27 e-dialog-utils.c
--- e-dialog-utils.c 25 May 2006 06:04:46 -0000 1.27
+++ e-dialog-utils.c 29 Aug 2006 19:07:15 -0000
@@ -335,7 +335,7 @@ e_file_dialog_save (const char *title, c
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (selection), GTK_RESPONSE_ACCEPT);
gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (selection), dir);
- gtk_file_chooser_set_local_only (selection, FALSE);
+ gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (selection), FALSE);
if (fname)
gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER (selection), fname);
@@ -424,7 +424,7 @@ e_file_dialog_save_folder (const char *t
GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (selection), GTK_RESPONSE_ACCEPT);
- gtk_file_chooser_set_local_only (selection, FALSE);
+ gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (selection), FALSE);
gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (selection), dir);
g_signal_connect (G_OBJECT (selection), "response", G_CALLBACK (folderchooser_response), &filename);
Index: e-error.c
===================================================================
RCS file: /cvs/gnome/evolution/e-util/e-error.c,v
retrieving revision 1.5
diff -u -p -r1.5 e-error.c
--- e-error.c 2 Jun 2006 08:29:43 -0000 1.5
+++ e-error.c 29 Aug 2006 19:07:15 -0000
@@ -36,7 +36,6 @@
#include <gtk/gtklabel.h>
#include <gtk/gtkimage.h>
#include <gtk/gtkscrolledwindow.h>
-#include <gtk/gtkwindow.h>
#include <libgnome/gnome-i18n.h>
#include <libgnome/gnome-url.h>
Index: e-util.c
===================================================================
RCS file: /cvs/gnome/evolution/e-util/e-util.c,v
retrieving revision 1.77
diff -u -p -r1.77 e-util.c
--- e-util.c 27 Aug 2006 11:55:06 -0000 1.77
+++ e-util.c 29 Aug 2006 19:07:15 -0000
@@ -1127,7 +1127,7 @@ e_gettext (const char *msgid)
}
cairo_font_options_t *
-get_font_options ()
+get_font_options (void)
{
char *antialiasing, *hinting, *subpixel_order;
GConfClient *gconf = gconf_client_get_default ();
Index: e-util.h
===================================================================
RCS file: /cvs/gnome/evolution/e-util/e-util.h,v
retrieving revision 1.63
diff -u -p -r1.63 e-util.h
--- e-util.h 24 Aug 2006 01:11:24 -0000 1.63
+++ e-util.h 29 Aug 2006 19:07:15 -0000
@@ -215,7 +215,7 @@ gchar *e_ascii_dtostr
Less than 0 for the int means copy the whole string. */
gchar *e_strdup_append_strings (gchar *first_string,
...);
-cairo_font_options_t * get_font_options ();
+cairo_font_options_t * get_font_options (void);
#ifdef __cplusplus
}
Index: e-xml-utils.c
===================================================================
RCS file: /cvs/gnome/evolution/e-util/e-xml-utils.c,v
retrieving revision 1.40
diff -u -p -r1.40 e-xml-utils.c
--- e-xml-utils.c 17 Dec 2005 16:50:36 -0000 1.40
+++ e-xml-utils.c 29 Aug 2006 19:07:16 -0000
@@ -33,7 +33,6 @@
#include <fcntl.h>
#include <errno.h>
#include <math.h>
-#include <string.h>
#include <glib.h>
#include <glib/gstdio.h>
Index: eggtrayicon.c
===================================================================
RCS file: /cvs/gnome/evolution/e-util/eggtrayicon.c,v
retrieving revision 1.3
diff -u -p -r1.3 eggtrayicon.c
--- eggtrayicon.c 17 Dec 2005 16:58:55 -0000 1.3
+++ eggtrayicon.c 29 Aug 2006 19:07:16 -0000
@@ -518,9 +518,6 @@ egg_tray_icon_get_orientation (EggTrayIc
* Tor Lillqvist <tml novell com>
*/
-#include <config.h>
-#include <string.h>
-
#include <gtk/gtk.h>
#define P_(x) x
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]