From 83a264cd7e6e28af8ea9ea3442693a2d409be458 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 19 Dec 2009 18:36:46 -0500 Subject: Coding style and whitespace cleanup. --- e-util/e-alert-dialog.c | 2 -- e-util/e-alert.c | 4 ---- e-util/e-pilot-util.c | 4 ++-- 3 files changed, 2 insertions(+), 8 deletions(-) (limited to 'e-util') diff --git a/e-util/e-alert-dialog.c b/e-util/e-alert-dialog.c index dd4d399f36..5f8cdc178d 100644 --- a/e-util/e-alert-dialog.c +++ b/e-util/e-alert-dialog.c @@ -267,7 +267,6 @@ e_alert_dialog_class_init (EAlertDialogClass *klass) G_PARAM_STATIC_STRINGS)); } - GtkWidget* e_alert_dialog_new (GtkWindow *parent, EAlert *alert) { @@ -291,7 +290,6 @@ e_alert_dialog_new_for_args (GtkWindow *parent, const gchar *tag, const gchar *a return d; } - gint e_alert_run_dialog(GtkWindow *parent, EAlert *alert) { diff --git a/e-util/e-alert.c b/e-util/e-alert.c index f0d27fe6be..01fade0e32 100644 --- a/e-util/e-alert.c +++ b/e-util/e-alert.c @@ -128,7 +128,6 @@ map_type(const gchar *name) return 3; } - G_DEFINE_TYPE (EAlert, e_alert, G_TYPE_OBJECT) #define ALERT_PRIVATE(o) \ @@ -444,7 +443,6 @@ e_alert_constructed (GObject *obj) g_warn_if_fail(alert->priv->definition); - } static void @@ -532,7 +530,6 @@ e_alert_new_array(const gchar *tag, GPtrArray *args) return g_object_new (E_TYPE_ALERT, "tag", tag, "args", args, NULL); } - /* unfortunately, gmarkup_escape doesn't expose its gstring based api :( */ static void e_alert_append_text_escaped (GString *out, const gchar *text) @@ -579,7 +576,6 @@ e_alert_format_string (GString *out, const gchar *fmt, GPtrArray *args, gboolean g_string_append(out, fmt); } - guint32 e_alert_get_flags (EAlert *alert) { diff --git a/e-util/e-pilot-util.c b/e-util/e-pilot-util.c index 3ce67c8e7b..3d8d2cddfb 100644 --- a/e-util/e-pilot-util.c +++ b/e-util/e-pilot-util.c @@ -40,7 +40,7 @@ e_pilot_utf8_to_pchar (const gchar *string, const gchar *pilot_charset) return NULL; #ifdef PILOT_LINK_0_12 - res = convert_ToPilotChar_WithCharset ("UTF-8", string, strlen (string), + res = convert_ToPilotChar_WithCharset ("UTF-8", string, strlen (string), &pstring, pilot_charset); #else res = convert_ToPilotChar ("UTF-8", string, strlen (string), &pstring); @@ -62,7 +62,7 @@ e_pilot_utf8_from_pchar (const gchar *string, const gchar *pilot_charset) return NULL; #ifdef PILOT_LINK_0_12 - res = convert_FromPilotChar_WithCharset ("UTF-8", string, strlen (string), + res = convert_FromPilotChar_WithCharset ("UTF-8", string, strlen (string), &ustring, pilot_charset); #else res = convert_FromPilotChar ("UTF-8", string, strlen (string), &ustring); -- cgit