mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-13 16:07:36 +00:00
call-selector-item: Codestyle
Move public functions to the bottom
This commit is contained in:
parent
c0a67d2cce
commit
6567b7cad7
1 changed files with 21 additions and 18 deletions
|
@ -65,24 +65,6 @@ call_state_changed_cb (CallsCallSelectorItem *self,
|
|||
}
|
||||
|
||||
|
||||
CallsCallSelectorItem *
|
||||
calls_call_selector_item_new (CuiCallDisplay *display)
|
||||
{
|
||||
g_return_val_if_fail (CUI_IS_CALL_DISPLAY (display), NULL);
|
||||
|
||||
return g_object_new (CALLS_TYPE_CALL_SELECTOR_ITEM,
|
||||
"display", display,
|
||||
NULL);
|
||||
}
|
||||
|
||||
|
||||
CuiCallDisplay *
|
||||
calls_call_selector_item_get_display (CallsCallSelectorItem *item)
|
||||
{
|
||||
g_return_val_if_fail (CALLS_IS_CALL_SELECTOR_ITEM (item), NULL);
|
||||
return item->display;
|
||||
}
|
||||
|
||||
static CallsCall *
|
||||
display_get_call (CuiCallDisplay *display)
|
||||
{
|
||||
|
@ -198,3 +180,24 @@ calls_call_selector_item_class_init (CallsCallSelectorItemClass *klass)
|
|||
gtk_widget_class_bind_template_child (widget_class, CallsCallSelectorItem, name);
|
||||
gtk_widget_class_bind_template_child (widget_class, CallsCallSelectorItem, status);
|
||||
}
|
||||
|
||||
|
||||
CallsCallSelectorItem *
|
||||
calls_call_selector_item_new (CuiCallDisplay *display)
|
||||
{
|
||||
g_return_val_if_fail (CUI_IS_CALL_DISPLAY (display), NULL);
|
||||
|
||||
return g_object_new (CALLS_TYPE_CALL_SELECTOR_ITEM,
|
||||
"display", display,
|
||||
NULL);
|
||||
}
|
||||
|
||||
|
||||
CuiCallDisplay *
|
||||
calls_call_selector_item_get_display (CallsCallSelectorItem *item)
|
||||
{
|
||||
g_return_val_if_fail (CALLS_IS_CALL_SELECTOR_ITEM (item), NULL);
|
||||
return item->display;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue