1
0
Fork 0
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:
Evangelos Ribeiro Tzaras 2021-04-12 18:16:38 +02:00
parent 868d9e36da
commit d65284acaa
2 changed files with 10 additions and 11 deletions

View file

@ -150,7 +150,7 @@ calls_origin_foreach_call(CallsOrigin *self,
*/
void
calls_origin_dial(CallsOrigin *self,
const gchar *number)
const char *number)
{
CallsOriginInterface *iface;

View file

@ -42,20 +42,19 @@ struct _CallsOriginInterface
{
GTypeInterface parent_iface;
void (*dial) (CallsOrigin *self,
const gchar *number);
void (*dial) (CallsOrigin *self,
const char *number);
};
typedef void (*CallsOriginForeachCallFunc) (gpointer param, CallsCall* call, CallsOrigin* origin);
const gchar * calls_origin_get_name (CallsOrigin *self);
GList * calls_origin_get_calls (CallsOrigin *self);
void calls_origin_foreach_call(CallsOrigin *self,
CallsOriginForeachCallFunc callback,
gpointer param);
void calls_origin_dial(CallsOrigin *self,
const gchar *number);
const gchar * calls_origin_get_name (CallsOrigin *self);
GList * calls_origin_get_calls (CallsOrigin *self);
void calls_origin_foreach_call (CallsOrigin *self,
CallsOriginForeachCallFunc callback,
gpointer param);
void calls_origin_dial (CallsOrigin *self,
const char *number);
G_END_DECLS
#endif /* CALLS_ORIGIN_H__ */