More on older GTK compatibility.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Wed, 8 Jan 2014 23:34:13 +0000 (01:34 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Wed, 8 Jan 2014 23:34:13 +0000 (01:34 +0200)
src/desktop.c
src/gseal-gtk-compat.h

index af65994..cf08f82 100644 (file)
@@ -1332,7 +1332,7 @@ static gboolean fm_desktop_accessible_idle_do_action(gpointer data)
 
     priv = FM_DESKTOP_ACCESSIBLE_GET_PRIVATE(data);
     priv->action_idle_handler = 0;
-    widget = gtk_accessible_get_widget(data);
+    widget = gtk_accessible_get_widget((GtkAccessible*)data);
     if (widget)
         fm_folder_view_item_clicked(FM_FOLDER_VIEW(widget), NULL, FM_FV_CONTEXT_MENU);
     return FALSE;
index acc90cf..c88fc76 100644 (file)
@@ -46,10 +46,10 @@ G_BEGIN_DECLS
 #define GDK_KEY_ISO_Enter                       GDK_ISO_Enter
 #define GDK_KEY_KP_Enter                        GDK_KP_Enter
 #define GDK_KEY_KP_Down                         GDK_KP_Down
-#define GDK_KEY_KP_G                            GDK_KP_G
-#define GDK_KEY_KP_g                            GDK_KP_g
-#define GDK_KEY_KP_F                            GDK_KP_F
-#define GDK_KEY_KP_f                            GDK_KP_f
+#define GDK_KEY_G                               GDK_G
+#define GDK_KEY_g                               GDK_g
+#define GDK_KEY_F                               GDK_F
+#define GDK_KEY_f                               GDK_f
 #endif
 
 #if !GTK_CHECK_VERSION (2, 20, 0)