Commit 027d8f2d authored by Sebastien Lafargue's avatar Sebastien Lafargue

dialer: use implicit initialisation

- The first enum with no value is implicitly assigned to 0
- static storage values are initialised with 0/NULL values
parent 15a44101
......@@ -31,14 +31,14 @@ typedef struct
G_DEFINE_TYPE_WITH_PRIVATE (HdyDialer, hdy_dialer, GTK_TYPE_GRID)
enum {
PROP_0 = 0,
PROP_0,
PROP_NUMBER,
PROP_LAST_PROP,
};
static GParamSpec *props[PROP_LAST_PROP] = { NULL, };
static GParamSpec *props[PROP_LAST_PROP];
enum {
SIGNAL_DIALED = 0,
SIGNAL_DIALED,
SIGNAL_LAST_SIGNAL,
};
static guint signals [SIGNAL_LAST_SIGNAL];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment