[gnome-terminal] screen: Fix compiler warnings



commit 332c064393f3f680471039498dbf4bbbf11913da
Author: Christian Persch <chpe gnome org>
Date:   Wed Jun 6 14:04:37 2012 +0200

    screen: Fix compiler warnings
    
    This is really a gtk bug (#565665) but I got tired of the warnings which
    may obscure real warnings from real bugs.

 src/terminal-screen.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index bd5f915..0e24518 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -278,11 +278,11 @@ static void
 terminal_screen_init (TerminalScreen *screen)
 {
   const GtkTargetEntry target_table[] = {
-    { "GTK_NOTEBOOK_TAB", GTK_TARGET_SAME_APP, TARGET_TAB },
-    { "application/x-color", 0, TARGET_COLOR },
-    { "x-special/gnome-reset-background", 0, TARGET_RESET_BG },
-    { "text/x-moz-url",  0, TARGET_MOZ_URL },
-    { "_NETSCAPE_URL", 0, TARGET_NETSCAPE_URL }
+    { (char *) "GTK_NOTEBOOK_TAB", GTK_TARGET_SAME_APP, TARGET_TAB },
+    { (char *) "application/x-color", 0, TARGET_COLOR },
+    { (char *) "x-special/gnome-reset-background", 0, TARGET_RESET_BG },
+    { (char *) "text/x-moz-url",  0, TARGET_MOZ_URL },
+    { (char *) "_NETSCAPE_URL", 0, TARGET_NETSCAPE_URL }
   };
   VteTerminal *terminal = VTE_TERMINAL (screen);
   TerminalScreenPrivate *priv;



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