diff options
author | Felix Kaser <f.kaser@gmx.net> | 2010-07-29 22:07:34 +0800 |
---|---|---|
committer | Felix Kaser <f.kaser@gmx.net> | 2010-07-29 22:07:34 +0800 |
commit | f42a546df394424e9ca71e123e2482bcc021ed82 (patch) | |
tree | 0209663149a111fe382e60b9db6f0aa05f4fe472 /libempathy-gtk/empathy-individual-view.c | |
parent | 8b6f735f75f51774bce12eb64ad1ed4712289bbb (diff) | |
download | gsoc2013-empathy-f42a546df394424e9ca71e123e2482bcc021ed82.tar.gz gsoc2013-empathy-f42a546df394424e9ca71e123e2482bcc021ed82.tar.zst gsoc2013-empathy-f42a546df394424e9ca71e123e2482bcc021ed82.zip |
changed the type of keynav signal
now VOID__BOXED is used instead of VOID__POINTER
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r-- | libempathy-gtk/empathy-individual-view.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c index d847ee549..92bdeacf5 100644 --- a/libempathy-gtk/empathy-individual-view.c +++ b/libempathy-gtk/empathy-individual-view.c @@ -1285,15 +1285,15 @@ individual_view_search_activate_cb (GtkWidget *search, static void individual_view_search_key_navigation_cb (GtkWidget *search, - gpointer eventkey, + GdkEvent *event, EmpathyIndividualView *view) { - GdkEventKey *event = ((GdkEventKey *) eventkey); - if (event->keyval == GDK_Up || event->keyval == GDK_Down) + GdkEventKey *eventkey = ((GdkEventKey *) event); + if (eventkey->keyval == GDK_Up || eventkey->keyval == GDK_Down) { GdkEvent *new_event; - new_event = gdk_event_copy ((GdkEvent *) event); + new_event = gdk_event_copy (event); gtk_widget_grab_focus (GTK_WIDGET (view)); gtk_widget_event (GTK_WIDGET (view), new_event); gtk_widget_grab_focus (search); |