diff options
author | Laurent Napias <[email protected]> | 2019-06-29 10:29:13 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-07-06 21:46:58 +0200 |
commit | db655f3fb2f67b695d36369e584fcb598e0e1bea (patch) | |
tree | ff7a4404cb6f0d1d8ca3a08ee50c60641641f1b4 /tools/plugin_template/pluma-plugin.c | |
parent | 5153fb08a2e26015d07e7b3805de15d38bd05a9d (diff) | |
download | pluma-db655f3fb2f67b695d36369e584fcb598e0e1bea.tar.bz2 pluma-db655f3fb2f67b695d36369e584fcb598e0e1bea.tar.xz |
Remove trailing whitespaces
Diffstat (limited to 'tools/plugin_template/pluma-plugin.c')
-rw-r--r-- | tools/plugin_template/pluma-plugin.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/plugin_template/pluma-plugin.c b/tools/plugin_template/pluma-plugin.c index 4974f121..7fdd6d55 100644 --- a/tools/plugin_template/pluma-plugin.c +++ b/tools/plugin_template/pluma-plugin.c @@ -7,7 +7,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -40,7 +40,7 @@ PLUMA_PLUGIN_REGISTER_TYPE (##(PLUGIN_ID.camel)Plugin, ##(PLUGIN_ID.lower)_plugi ##ifdef WITH_MENU /* UI string. See pluma-ui.xml for reference */ -static const gchar ui_str = +static const gchar ui_str = "<ui>" " <menubar name='MenuBar'>" " <!-- Put your menu entries here -->" @@ -96,7 +96,7 @@ impl_activate (PlumaPlugin *plugin, ##ifdef WITH_MENU GtkUIManager *manager; WindowData *data; -##endif +##endif pluma_debug (DEBUG_PLUGINS); @@ -117,11 +117,11 @@ impl_activate (PlumaPlugin *plugin, data->ui_id = gtk_ui_manager_add_ui_from_string (manager, ui_str, -1, NULL); - g_object_set_data_full (G_OBJECT (window), - WINDOW_DATA_KEY, + g_object_set_data_full (G_OBJECT (window), + WINDOW_DATA_KEY, data, (GDestroyNotify) free_window_data); -##endif +##endif } static void @@ -179,6 +179,6 @@ static void plugin_class->create_configure_dialog = impl_create_configure_dialog; ##endif - g_type_class_add_private (object_class, + g_type_class_add_private (object_class, sizeof (##(PLUGIN_ID.camel)PluginPrivate)); } |