[gtk/shortcuts-rebased-again: 120/159] text: Stop using keybinding signals internally
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/shortcuts-rebased-again: 120/159] text: Stop using keybinding signals internally
- Date: Mon, 24 Jun 2019 11:45:14 +0000 (UTC)
commit e9ca14df5f4f57ac1386cba8c72dce6ae088cc59
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jun 21 21:03:25 2019 +0000
text: Stop using keybinding signals internally
We can just call the class handlers.
gtk/gtktext.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtktext.c b/gtk/gtktext.c
index 9f19929f4e..47d14945b0 100644
--- a/gtk/gtktext.c
+++ b/gtk/gtktext.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]