mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-19 21:40:22 +00:00
Whitespace fixes
This commit is contained in:
parent
b7de477611
commit
f7ce4d7740
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user