mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-12 07:37:35 +00:00
codestyle: align function prototypes in calls-origin header
This makes it a easier on the eyes.
This commit is contained in:
parent
868d9e36da
commit
d65284acaa
2 changed files with 10 additions and 11 deletions
|
@ -150,7 +150,7 @@ calls_origin_foreach_call(CallsOrigin *self,
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
calls_origin_dial(CallsOrigin *self,
|
calls_origin_dial(CallsOrigin *self,
|
||||||
const gchar *number)
|
const char *number)
|
||||||
{
|
{
|
||||||
CallsOriginInterface *iface;
|
CallsOriginInterface *iface;
|
||||||
|
|
||||||
|
|
|
@ -42,20 +42,19 @@ struct _CallsOriginInterface
|
||||||
{
|
{
|
||||||
GTypeInterface parent_iface;
|
GTypeInterface parent_iface;
|
||||||
|
|
||||||
void (*dial) (CallsOrigin *self,
|
void (*dial) (CallsOrigin *self,
|
||||||
const gchar *number);
|
const char *number);
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef void (*CallsOriginForeachCallFunc) (gpointer param, CallsCall* call, CallsOrigin* origin);
|
typedef void (*CallsOriginForeachCallFunc) (gpointer param, CallsCall* call, CallsOrigin* origin);
|
||||||
|
|
||||||
const gchar * calls_origin_get_name (CallsOrigin *self);
|
const gchar * calls_origin_get_name (CallsOrigin *self);
|
||||||
GList * calls_origin_get_calls (CallsOrigin *self);
|
GList * calls_origin_get_calls (CallsOrigin *self);
|
||||||
void calls_origin_foreach_call(CallsOrigin *self,
|
void calls_origin_foreach_call (CallsOrigin *self,
|
||||||
CallsOriginForeachCallFunc callback,
|
CallsOriginForeachCallFunc callback,
|
||||||
gpointer param);
|
gpointer param);
|
||||||
void calls_origin_dial(CallsOrigin *self,
|
void calls_origin_dial (CallsOrigin *self,
|
||||||
const gchar *number);
|
const char *number);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* CALLS_ORIGIN_H__ */
|
#endif /* CALLS_ORIGIN_H__ */
|
||||||
|
|
Loading…
Reference in a new issue