[gnome-commander/GSettings] Fixes g++ compiler warnings



commit 73e62566bc21aa28c9bf96594372d8c1c50151da
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Mon May 16 16:37:18 2016 +0200

    Fixes g++ compiler warnings

 plugins/fileroller/file-roller-plugin.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/fileroller/file-roller-plugin.cc b/plugins/fileroller/file-roller-plugin.cc
index ac6805d..0d1f050 100644
--- a/plugins/fileroller/file-roller-plugin.cc
+++ b/plugins/fileroller/file-roller-plugin.cc
@@ -502,7 +502,7 @@ GtkType file_roller_plugin_get_type ()
     {
         GtkTypeInfo info =
         {
-            "FileRollerPlugin",
+            (gchar*) "FileRollerPlugin",
             sizeof (FileRollerPlugin),
             sizeof (FileRollerPluginClass),
             (GtkClassInitFunc) class_init,
@@ -537,7 +537,7 @@ extern "C" PluginInfo *get_plugin_info ()
     if (!plugin_nfo.authors)
     {
         plugin_nfo.authors = g_new0 (gchar *, 2);
-        plugin_nfo.authors[0] = AUTHOR;
+        plugin_nfo.authors[0] = (char*) AUTHOR;
         plugin_nfo.authors[1] = NULL;
         plugin_nfo.comments = g_strdup (_("A plugin that adds File Roller shortcuts for creating "
                                           "and extracting compressed archives."));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]