aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/external-editor
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-06-05 20:48:29 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-09 19:18:28 +0800
commitb0e26e9c5f13c710c7677959cc457158206befe1 (patch)
treeb4a7791f26ff0928e862d9d44b3b81e52cd986e0 /plugins/external-editor
parentf9f7c3efa62b85e8f54e59382fef9ef8c80df6e6 (diff)
downloadgsoc2013-evolution-b0e26e9c5f13c710c7677959cc457158206befe1.tar
gsoc2013-evolution-b0e26e9c5f13c710c7677959cc457158206befe1.tar.gz
gsoc2013-evolution-b0e26e9c5f13c710c7677959cc457158206befe1.tar.bz2
gsoc2013-evolution-b0e26e9c5f13c710c7677959cc457158206befe1.tar.lz
gsoc2013-evolution-b0e26e9c5f13c710c7677959cc457158206befe1.tar.xz
gsoc2013-evolution-b0e26e9c5f13c710c7677959cc457158206befe1.tar.zst
gsoc2013-evolution-b0e26e9c5f13c710c7677959cc457158206befe1.zip
Fix even more compiler warnings and disable one for format strings
Diffstat (limited to 'plugins/external-editor')
-rw-r--r--plugins/external-editor/apps-evolution-external-editor.schemas.in2
-rw-r--r--plugins/external-editor/external-editor.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/plugins/external-editor/apps-evolution-external-editor.schemas.in b/plugins/external-editor/apps-evolution-external-editor.schemas.in
index 38becebdb7..0f7db301e8 100644
--- a/plugins/external-editor/apps-evolution-external-editor.schemas.in
+++ b/plugins/external-editor/apps-evolution-external-editor.schemas.in
@@ -10,7 +10,9 @@
<short>Default External Editor</short>
<long>The default command that must be used as the editor.</long>
</locale>
+ </schema>
+ <schema>
<key>/schemas/apps/evolution/eplugin/external-editor/launch-on-key-press</key>
<applyto>/apps/evolution/eplugin/external-editor/launch-on-key-press</applyto>
<owner>evolution-mail</owner>
diff --git a/plugins/external-editor/external-editor.c b/plugins/external-editor/external-editor.c
index 5d8ae3bfcd..a7f06b62bf 100644
--- a/plugins/external-editor/external-editor.c
+++ b/plugins/external-editor/external-editor.c
@@ -226,7 +226,7 @@ async_external_editor (EMsgComposer *composer)
} else {
g_warning ("Temporary file fd is null");
g_idle_add ((GSourceFunc) run_error_dialog,
- "org.gnome.evolution.plugins.external-editor:no-temp-file");
+ (gpointer)"org.gnome.evolution.plugins.external-editor:no-temp-file");
g_idle_add ((GSourceFunc) enable_composer, composer);
return;
}
@@ -248,7 +248,7 @@ async_external_editor (EMsgComposer *composer)
{
g_warning ("Unable to launch %s: ", editor_cmd_line);
g_idle_add ((GSourceFunc) run_error_dialog,
- "org.gnome.evolution.plugins.external-editor:editor-not-launchable");
+ (gpointer)"org.gnome.evolution.plugins.external-editor:editor-not-launchable");
g_idle_add ((GSourceFunc) enable_composer, composer);
g_free (filename);