[gcompris] piano_conposition now the F5 key is working



commit 9597983970974f7b4804f354a0fb95f411eeb8c9
Author: Bruno Coudoin <bcoudoin gcompris net>
Date:   Thu Oct 3 00:14:57 2013 +0200

    piano_conposition now the F5 key is working
    
    In GCompris core we were catching F5 to refresh the canvas
    but this is no more needed.
    
    Thanks to Jose Jorge for the bug report.

 src/gcompris/gcompris.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/gcompris/gcompris.c b/src/gcompris/gcompris.c
index 4d649fa..428eb05 100644
--- a/src/gcompris/gcompris.c
+++ b/src/gcompris/gcompris.c
@@ -377,11 +377,6 @@ board_widget_key_press_callback (GtkWidget   *widget,
       if (gc_board_get_current()->previous_board != NULL)
        gc_board_stop();
       return TRUE;
-    case GDK_F5:
-      g_message("Refreshing the canvas\n");
-      goo_canvas_update(GOO_CANVAS(canvas));
-      return TRUE;
-
     case GDK_KP_Multiply:
       break;
     case GDK_KP_0:


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