diff options
Diffstat (limited to 'widgets/text/e-text.c')
-rw-r--r-- | widgets/text/e-text.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index 0b9f7f149f..40aedfc735 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -2318,7 +2318,7 @@ popup_targets_received (GtkClipboard *clipboard, /* If invoked by S-F10 key binding, button will be 0. */ if (button->button == 0) { gtk_menu_popup (GTK_MENU (popup_menu), NULL, NULL, - popup_menu_placement_cb, (gpointer)text, + popup_menu_placement_cb, (gpointer) text, button->button, GDK_CURRENT_TIME); } else { gtk_menu_popup (GTK_MENU (popup_menu), NULL, NULL, @@ -2327,7 +2327,7 @@ popup_targets_received (GtkClipboard *clipboard, } g_object_unref (text); - gdk_event_free ((GdkEvent *)button); + gdk_event_free ((GdkEvent *) button); } static void @@ -2337,7 +2337,7 @@ e_text_do_popup (EText *text, GdkEventButton *button, gint position) closure->text = text; g_object_ref (closure->text); - closure->button = (GdkEventButton *) gdk_event_copy ((GdkEvent *)button); + closure->button = (GdkEventButton *) gdk_event_copy ((GdkEvent *) button); closure->position = position; gtk_clipboard_request_contents ( |