diff options
author | rbuj <[email protected]> | 2020-12-31 18:58:03 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-01-28 21:14:30 +0100 |
commit | d9f4cc876d523560f97156ceda1905ee34ffdaae (patch) | |
tree | 6e05dff31883a7272de155b26f4d8d2524ac4ccc /sendto/plugins | |
parent | c6dba2ce2ec09f2c6202fd1a22f1b5ae89532f50 (diff) | |
download | caja-extensions-d9f4cc876d523560f97156ceda1905ee34ffdaae.tar.bz2 caja-extensions-d9f4cc876d523560f97156ceda1905ee34ffdaae.tar.xz |
Include i18n header after defining GETTEXT_PACKAGE macro
Diffstat (limited to 'sendto/plugins')
-rw-r--r-- | sendto/plugins/caja-burn/caja-burn.c | 11 | ||||
-rw-r--r-- | sendto/plugins/emailclient/emailclient.c | 4 | ||||
-rw-r--r-- | sendto/plugins/gajim/gajim.c | 5 | ||||
-rw-r--r-- | sendto/plugins/pidgin/pidgin.c | 3 | ||||
-rw-r--r-- | sendto/plugins/removable-devices/removable-devices.c | 6 | ||||
-rw-r--r-- | sendto/plugins/upnp/upnp.c | 3 |
6 files changed, 22 insertions, 10 deletions
diff --git a/sendto/plugins/caja-burn/caja-burn.c b/sendto/plugins/caja-burn/caja-burn.c index 91a4f2f..fe0570d 100644 --- a/sendto/plugins/caja-burn/caja-burn.c +++ b/sendto/plugins/caja-burn/caja-burn.c @@ -21,10 +21,13 @@ * Author: Jader Henrique da Silva <[email protected]> */ +#ifdef HAVE_CONFIG_H #include <config.h> +#endif -#include <string.h> #include <glib/gi18n-lib.h> + +#include <string.h> #include "nst-common.h" #include "caja-sendto-plugin.h" @@ -164,12 +167,11 @@ gboolean send_files (NstPlugin *plugin, } static -gboolean destroy (NstPlugin *plugin){ - +gboolean destroy (NstPlugin *plugin) +{ g_object_unref (burn); burn = NULL; return TRUE; - } static @@ -187,4 +189,3 @@ NstPluginInfo plugin_info = { }; NST_INIT_PLUGIN (plugin_info) - diff --git a/sendto/plugins/emailclient/emailclient.c b/sendto/plugins/emailclient/emailclient.c index 6729efd..a3289c5 100644 --- a/sendto/plugins/emailclient/emailclient.c +++ b/sendto/plugins/emailclient/emailclient.c @@ -23,9 +23,12 @@ * Stefano Karapetsas <[email protected]> */ +#ifdef HAVE_CONFIG_H #include <config.h> +#endif #include <glib/gi18n-lib.h> + #include <string.h> #include "caja-sendto-plugin.h" #include <gio/gio.h> @@ -275,4 +278,3 @@ NstPluginInfo plugin_info = { }; NST_INIT_PLUGIN (plugin_info) - diff --git a/sendto/plugins/gajim/gajim.c b/sendto/plugins/gajim/gajim.c index fe22fe1..881af6c 100644 --- a/sendto/plugins/gajim/gajim.c +++ b/sendto/plugins/gajim/gajim.c @@ -22,9 +22,12 @@ * */ +#ifdef HAVE_CONFIG_H #include <config.h> +#endif #include <glib/gi18n-lib.h> + #include <dbus/dbus.h> #include <dbus/dbus-glib.h> #include "caja-sendto-plugin.h" @@ -38,7 +41,6 @@ const gchar *COMPLETION_PROPS[] = {"name", "jid"}; static GHashTable *jid_table = NULL; static gchar *iconset; - DBusGProxy *proxy = NULL; /* @@ -516,4 +518,3 @@ NstPluginInfo plugin_info = { }; NST_INIT_PLUGIN (plugin_info) - diff --git a/sendto/plugins/pidgin/pidgin.c b/sendto/plugins/pidgin/pidgin.c index d4525e1..5ee4af2 100644 --- a/sendto/plugins/pidgin/pidgin.c +++ b/sendto/plugins/pidgin/pidgin.c @@ -25,9 +25,12 @@ * Author: Roberto Majadas <[email protected]> */ +#ifdef HAVE_CONFIG_H #include <config.h> +#endif #include <glib/gi18n-lib.h> + #include <dbus/dbus.h> #include <dbus/dbus-glib.h> #include "caja-sendto-plugin.h" diff --git a/sendto/plugins/removable-devices/removable-devices.c b/sendto/plugins/removable-devices/removable-devices.c index 191c2a7..f64b17c 100644 --- a/sendto/plugins/removable-devices/removable-devices.c +++ b/sendto/plugins/removable-devices/removable-devices.c @@ -19,10 +19,13 @@ * Bastien Nocera <[email protected]> */ +#ifdef HAVE_CONFIG_H #include <config.h> +#endif -#include <string.h> #include <glib/gi18n-lib.h> + +#include <string.h> #include <gio/gio.h> #include "nst-common.h" #include "caja-sendto-plugin.h" @@ -257,4 +260,3 @@ NstPluginInfo plugin_info = { }; NST_INIT_PLUGIN (plugin_info) - diff --git a/sendto/plugins/upnp/upnp.c b/sendto/plugins/upnp/upnp.c index 62cb2cb..9843cbb 100644 --- a/sendto/plugins/upnp/upnp.c +++ b/sendto/plugins/upnp/upnp.c @@ -25,9 +25,12 @@ * */ +#ifdef HAVE_CONFIG_H #include <config.h> +#endif #include <glib/gi18n-lib.h> + #include <libgupnp/gupnp.h> #include "caja-sendto-plugin.h" |