mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-06-16 08:49:31 +00:00
calls-call-record-row: Stop using Gtk.Widget::popup-menu
Removed in GTK4... I don't know if there's a replacement for it at the moment. Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
parent
b85d7efc4f
commit
27c2f62dc1
|
@ -382,14 +382,6 @@ context_menu (GtkWidget *widget,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static gboolean
|
|
||||||
calls_call_record_row_popup_menu (GtkWidget *self)
|
|
||||||
{
|
|
||||||
context_menu (self, NULL);
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
on_long_pressed (GtkGestureLongPress *gesture,
|
on_long_pressed (GtkGestureLongPress *gesture,
|
||||||
gdouble x,
|
gdouble x,
|
||||||
|
@ -527,8 +519,6 @@ calls_call_record_row_class_init (CallsCallRecordRowClass *klass)
|
||||||
object_class->get_property = get_property;
|
object_class->get_property = get_property;
|
||||||
object_class->dispose = dispose;
|
object_class->dispose = dispose;
|
||||||
|
|
||||||
widget_class->popup_menu = calls_call_record_row_popup_menu;
|
|
||||||
|
|
||||||
props[PROP_RECORD] =
|
props[PROP_RECORD] =
|
||||||
g_param_spec_object ("record",
|
g_param_spec_object ("record",
|
||||||
"Record",
|
"Record",
|
||||||
|
|
Loading…
Reference in a new issue