mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +00:00
treewide: Remove GtkEventBox
https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtkeventbox Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
parent
ee3abc009a
commit
10b0672f9e
5 changed files with 6 additions and 6 deletions
|
@ -47,7 +47,7 @@ struct _CallsCallRecordRow {
|
|||
GtkButton *button;
|
||||
GtkPopover *popover;
|
||||
GtkGesture *gesture;
|
||||
GtkEventBox *event_box;
|
||||
GtkBox *event_box;
|
||||
|
||||
GMenu *context_menu;
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
|
||||
struct _CallsCallSelectorItem {
|
||||
GtkEventBox parent_instance;
|
||||
GtkBox parent_instance;
|
||||
|
||||
CuiCallDisplay *display;
|
||||
|
||||
|
@ -42,7 +42,7 @@ struct _CallsCallSelectorItem {
|
|||
GtkLabel *status;
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE (CallsCallSelectorItem, calls_call_selector_item, GTK_TYPE_EVENT_BOX);
|
||||
G_DEFINE_TYPE (CallsCallSelectorItem, calls_call_selector_item, GTK_TYPE_BOX);
|
||||
|
||||
enum {
|
||||
PROP_0,
|
||||
|
|
|
@ -33,7 +33,7 @@ G_BEGIN_DECLS
|
|||
#define CALLS_TYPE_CALL_SELECTOR_ITEM (calls_call_selector_item_get_type ())
|
||||
|
||||
G_DECLARE_FINAL_TYPE (CallsCallSelectorItem, calls_call_selector_item,
|
||||
CALLS, CALL_SELECTOR_ITEM, GtkEventBox);
|
||||
CALLS, CALL_SELECTOR_ITEM, GtkBox);
|
||||
|
||||
CallsCallSelectorItem *calls_call_selector_item_new (CuiCallDisplay *display);
|
||||
CuiCallDisplay *calls_call_selector_item_get_display (CallsCallSelectorItem *item);
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<property name="activatable">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<child>
|
||||
<object class="GtkEventBox" id="event_box">
|
||||
<object class="GtkBox" id="event_box">
|
||||
<property name="visible">True</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<!-- Generated with glade 3.22.0 -->
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.20"/>
|
||||
<template class="CallsCallSelectorItem" parent="GtkEventBox">
|
||||
<template class="CallsCallSelectorItem" parent="GtkBox">
|
||||
<property name="visible">True</property>
|
||||
<property name="visible_window">False</property>
|
||||
<property name="above_child">True</property>
|
||||
|
|
Loading…
Reference in a new issue