[Xfce4-commits] [apps/xfce4-terminal] 01/01: Fix compilation warning on key_press_event function

noreply at xfce.org noreply at xfce.org
Thu Jul 21 13:58:24 CEST 2016


This is an automated email from the git hooks/post-receive script.

f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.

commit c034e02d2abe3a623a5332be5bebb07cb1710aff
Author: Igor <f2404 at yandex.ru>
Date:   Thu Jul 21 14:58:18 2016 +0300

    Fix compilation warning on key_press_event function
---
 terminal/terminal-screen.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index 2ca2a5e..73d82c2 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -93,7 +93,7 @@ static void       terminal_screen_set_property                  (GObject
                                                                  GParamSpec            *pspec);
 static void       terminal_screen_realize                       (GtkWidget             *widget);
 static void       terminal_screen_unrealize                     (GtkWidget             *widget);
-static void       terminal_screen_key_press_event               (GtkWidget             *widget,
+static gboolean   terminal_screen_key_press_event               (GtkWidget             *widget,
                                                                  GdkEventKey           *event);
 static void       terminal_screen_preferences_changed           (TerminalPreferences   *preferences,
                                                                  GParamSpec            *pspec,
@@ -455,7 +455,7 @@ terminal_screen_unrealize (GtkWidget *widget)
 
 
 
-static void
+static gboolean
 terminal_screen_key_press_event (GtkWidget   *widget,
                                  GdkEventKey *event)
 {
@@ -466,6 +466,8 @@ terminal_screen_key_press_event (GtkWidget   *widget,
 
   /* propagate to the terminal */
   g_signal_emit_by_name (G_OBJECT (screen->terminal), "key-press-event", event, &ret);
+
+  return ret;
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list