Whitespace fixes

This commit is contained in:
Matthias Clasen 2011-12-02 18:21:10 -05:00 committed by Ryan Lortie
parent b7de477611
commit f7ce4d7740

View File

@ -34,28 +34,28 @@ get_clipboard (GtkWidget *widget)
static void static void
window_copy (GSimpleAction *action, window_copy (GSimpleAction *action,
GVariant *parameter, GVariant *parameter,
gpointer user_data) gpointer user_data)
{ {
GtkWindow *window = GTK_WINDOW (user_data); GtkWindow *window = GTK_WINDOW (user_data);
GtkTextView *text = g_object_get_data ((GObject*)window, "bloatpad-text"); GtkTextView *text = g_object_get_data ((GObject*)window, "bloatpad-text");
gtk_text_buffer_copy_clipboard (gtk_text_view_get_buffer (text), gtk_text_buffer_copy_clipboard (gtk_text_view_get_buffer (text),
get_clipboard ((GtkWidget*) text)); get_clipboard ((GtkWidget*) text));
} }
static void static void
window_paste (GSimpleAction *action, window_paste (GSimpleAction *action,
GVariant *parameter, GVariant *parameter,
gpointer user_data) gpointer user_data)
{ {
GtkWindow *window = GTK_WINDOW (user_data); GtkWindow *window = GTK_WINDOW (user_data);
GtkTextView *text = g_object_get_data ((GObject*)window, "bloatpad-text"); GtkTextView *text = g_object_get_data ((GObject*)window, "bloatpad-text");
gtk_text_buffer_paste_clipboard (gtk_text_view_get_buffer (text), gtk_text_buffer_paste_clipboard (gtk_text_view_get_buffer (text),
get_clipboard ((GtkWidget*) text), get_clipboard ((GtkWidget*) text),
NULL, NULL,
TRUE); TRUE);
} }