[gnome-commander] Fixes compiler warning about string conversion



commit 7aecfab7620e2f21606876d5d4a741d7e0dba4d3
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Thu Feb 23 21:53:06 2017 +0100

    Fixes compiler warning about string conversion

 libgcmd/gnome-cmd-plugin.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgcmd/gnome-cmd-plugin.cc b/libgcmd/gnome-cmd-plugin.cc
index 33a3c55..da6752e 100644
--- a/libgcmd/gnome-cmd-plugin.cc
+++ b/libgcmd/gnome-cmd-plugin.cc
@@ -77,9 +77,9 @@ GtkType gnome_cmd_plugin_get_type ()
 
     if (type == 0)
     {
-        GtkTypeInfo info =
+        static const GtkTypeInfo info =
         {
-            "GnomeCmdPlugin",
+            (char*) "GnomeCmdPlugin",
             sizeof (GnomeCmdPlugin),
             sizeof (GnomeCmdPluginClass),
             (GtkClassInitFunc) class_init,


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