diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/gnunet-fs-gtk.c b/src/fs/gnunet-fs-gtk.c index 2ce26bf0..a05486e8 100644 --- a/src/fs/gnunet-fs-gtk.c +++ b/src/fs/gnunet-fs-gtk.c | |||
@@ -342,8 +342,8 @@ GNUNET_FS_GTK_main_window_button_press_event (GtkWidget * widget, | |||
342 | GdkEventButton *event_button = (GdkEventButton *) event; | 342 | GdkEventButton *event_button = (GdkEventButton *) event; |
343 | GtkClipboard *cb; | 343 | GtkClipboard *cb; |
344 | 344 | ||
345 | if ( (event->type != GDK_BUTTON_PRESS) || | 345 | if ( (GDK_BUTTON_PRESS != event->type) || |
346 | (event_button->button != 2) ) | 346 | (2 != event_button->button) ) |
347 | return FALSE; | 347 | return FALSE; |
348 | cb = gtk_clipboard_get (gdk_atom_intern ("PRIMARY", FALSE)); | 348 | cb = gtk_clipboard_get (gdk_atom_intern ("PRIMARY", FALSE)); |
349 | gtk_clipboard_request_text (cb, &process_paste, NULL); | 349 | gtk_clipboard_request_text (cb, &process_paste, NULL); |