From 8a186c3588d3598857c36e2122fa68d01eba30fd Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 8 May 2011 13:24:42 -0400 Subject: Coding style cleanups. --- widgets/text/e-text.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'widgets/text') 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 ( -- cgit v1.2.3