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 void
calls_origin_dial(CallsOrigin *self, calls_origin_dial(CallsOrigin *self,
const gchar *number) const char *number)
{ {
CallsOriginInterface *iface; CallsOriginInterface *iface;

View file

@ -43,7 +43,7 @@ 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);
@ -54,8 +54,7 @@ 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__ */