diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-12-20 07:36:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-12-20 07:36:46 +0800 |
commit | 83a264cd7e6e28af8ea9ea3442693a2d409be458 (patch) | |
tree | 73000d9651cfd4f576a878e3564ed8f31eee3bb4 /e-util | |
parent | 124a4f8913e924d1ca58575b1382630147fa6f3e (diff) | |
download | gsoc2013-evolution-83a264cd7e6e28af8ea9ea3442693a2d409be458.tar gsoc2013-evolution-83a264cd7e6e28af8ea9ea3442693a2d409be458.tar.gz gsoc2013-evolution-83a264cd7e6e28af8ea9ea3442693a2d409be458.tar.bz2 gsoc2013-evolution-83a264cd7e6e28af8ea9ea3442693a2d409be458.tar.lz gsoc2013-evolution-83a264cd7e6e28af8ea9ea3442693a2d409be458.tar.xz gsoc2013-evolution-83a264cd7e6e28af8ea9ea3442693a2d409be458.tar.zst gsoc2013-evolution-83a264cd7e6e28af8ea9ea3442693a2d409be458.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-alert-dialog.c | 2 | ||||
-rw-r--r-- | e-util/e-alert.c | 4 | ||||
-rw-r--r-- | e-util/e-pilot-util.c | 4 |
3 files changed, 2 insertions, 8 deletions
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); |