Commit 1cbb2099 authored by Matthias Clasen's avatar Matthias Clasen

text: Stop using keybinding signals internally

We can just call the class handlers.
parent 7ed27ef5
......@@ -5702,7 +5702,7 @@ gtk_text_activate_clipboard_cut (GtkWidget *widget,
GVariant *parameter)
{
GtkText *self = GTK_TEXT (widget);
g_signal_emit_by_name (self, "cut-clipboard");
gtk_text_cut_clipboard (self);
hide_selection_bubble (self);
}
......@@ -5712,7 +5712,7 @@ gtk_text_activate_clipboard_copy (GtkWidget *widget,
GVariant *parameter)
{
GtkText *self = GTK_TEXT (widget);
g_signal_emit_by_name (self, "copy-clipboard");
gtk_text_copy_clipboard (self);
hide_selection_bubble (self);
}
......@@ -5722,7 +5722,7 @@ gtk_text_activate_clipboard_paste (GtkWidget *widget,
GVariant *parameter)
{
GtkText *self = GTK_TEXT (widget);
g_signal_emit_by_name (self, "paste-clipboard");
gtk_text_paste_clipboard (self);
hide_selection_bubble (self);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment