[gnome-system-tools: 21/23] e-map: Cleanup from Evolution



commit 1c9937828100b89d2da48bc1bb8dbd689b746614
Author: Milan Bouchet-Valat <nalimilan club fr>
Date:   Tue Oct 5 22:25:45 2010 +0200

    e-map: Cleanup from Evolution
    
    Sync new changes from Evolution:
    - GDK_KEY_* changes from GTK+ 2.21.8
    - style fixes

 src/time/e-map/e-map.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/time/e-map/e-map.c b/src/time/e-map/e-map.c
index 5ac7dcf..07c2427 100644
--- a/src/time/e-map/e-map.c
+++ b/src/time/e-map/e-map.c
@@ -351,10 +351,10 @@ e_map_finalize (GObject *object)
 	view = E_MAP (object);
 	priv = view->priv;
 
-	g_object_unref((priv->hadj));
+	g_object_unref ((priv->hadj));
 	priv->hadj = NULL;
 
-	g_object_unref((priv->vadj));
+	g_object_unref ((priv->vadj));
 	priv->vadj = NULL;
 
 	if (priv->map_pixbuf)
@@ -693,25 +693,25 @@ e_map_key_press (GtkWidget *widget, GdkEventKey *event)
 
 	switch (event->keyval)
 	{
-		case GDK_Up:
+		case GDK_KEY_Up:
 			do_scroll = TRUE;
 			xofs = 0;
 			yofs = -SCROLL_STEP_SIZE;
 			break;
 
-		case GDK_Down:
+		case GDK_KEY_Down:
 			do_scroll = TRUE;
 			xofs = 0;
 			yofs = SCROLL_STEP_SIZE;
 			break;
 
-		case GDK_Left:
+		case GDK_KEY_Left:
 			do_scroll = TRUE;
 			xofs = -SCROLL_STEP_SIZE;
 			yofs = 0;
 			break;
 
-		case GDK_Right:
+		case GDK_KEY_Right:
 			do_scroll = TRUE;
 			xofs = SCROLL_STEP_SIZE;
 			yofs = 0;



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