aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-26 11:24:45 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-26 11:24:45 +0800
commit05a85647b7f649ef76a51fed8ee21eaec84232d4 (patch)
treee5e6e2a71e4edd0b62706594e43cffe97b4957c6 /composer
parent16c8fefe966367fa5d9747d35895f8aa6e080657 (diff)
downloadgsoc2013-evolution-05a85647b7f649ef76a51fed8ee21eaec84232d4.tar
gsoc2013-evolution-05a85647b7f649ef76a51fed8ee21eaec84232d4.tar.gz
gsoc2013-evolution-05a85647b7f649ef76a51fed8ee21eaec84232d4.tar.bz2
gsoc2013-evolution-05a85647b7f649ef76a51fed8ee21eaec84232d4.tar.lz
gsoc2013-evolution-05a85647b7f649ef76a51fed8ee21eaec84232d4.tar.xz
gsoc2013-evolution-05a85647b7f649ef76a51fed8ee21eaec84232d4.tar.zst
gsoc2013-evolution-05a85647b7f649ef76a51fed8ee21eaec84232d4.zip
Fix compiler warnings in composer.
Diffstat (limited to 'composer')
-rw-r--r--composer/e-composer-actions.c2
-rw-r--r--composer/e-composer-header-table.c1
-rw-r--r--composer/e-composer-header.c6
3 files changed, 1 insertions, 8 deletions
diff --git a/composer/e-composer-actions.c b/composer/e-composer-actions.c
index 247ac7794f..077c0c5ec0 100644
--- a/composer/e-composer-actions.c
+++ b/composer/e-composer-actions.c
@@ -444,7 +444,7 @@ static GtkToggleActionEntry toggle_entries[] = {
N_("S/MIME Sig_n"),
NULL,
N_("Sign this message with your S/MIME Signature Certificate"),
- NULL, /* Handled by property bindings */
+ G_CALLBACK (action_smime_sign_cb),
FALSE },
{ "view-bcc",
diff --git a/composer/e-composer-header-table.c b/composer/e-composer-header-table.c
index df96d763ba..ef03fb4f73 100644
--- a/composer/e-composer-header-table.c
+++ b/composer/e-composer-header-table.c
@@ -1025,7 +1025,6 @@ e_composer_header_table_get_header (EComposerHeaderTable *table,
{
g_return_val_if_fail (E_IS_COMPOSER_HEADER_TABLE (table), NULL);
g_return_val_if_fail (type < E_COMPOSER_NUM_HEADERS, NULL);
- g_return_val_if_fail (type >= 0, NULL);
return table->priv->headers[type];
}
diff --git a/composer/e-composer-header.c b/composer/e-composer-header.c
index 20967c6853..674e7a6cee 100644
--- a/composer/e-composer-header.c
+++ b/composer/e-composer-header.c
@@ -71,12 +71,6 @@ composer_header_addaction_clicked_cb (GtkButton *button,
e_composer_header_set_visible (header, TRUE);
}
-static void
-link_clicked_cb (GtkLinkButton *button, const gchar *link_, gpointer user_data)
-{
- return;
-}
-
static GObject *
composer_header_constructor (GType type,
guint n_construct_properties,