Commit 669a0cc6 authored by Guido Gunther's avatar Guido Gunther

Use linux style indentation

but only indent by 2 characters and don't use tabs. For the rest let's
follow

     https://developer.gnome.org/programming-guidelines/stable/c-coding-style.html.en
parent 2a09200d
(
(c-mode . (
(c-file-style . "linux")
(indent-tabs-mode . nil)
(c-basic-offset . 2)
))
)
......@@ -20,9 +20,9 @@
enum {
HDY_DIALER_BUTTON_PROP_0 = 0,
HDY_DIALER_BUTTON_PROP_DIGIT = 1,
HDY_DIALER_BUTTON_PROP_LETTERS = 2,
HDY_DIALER_BUTTON_PROP_0 = 0,
HDY_DIALER_BUTTON_PROP_DIGIT = 1,
HDY_DIALER_BUTTON_PROP_LETTERS = 2,
};
......@@ -85,9 +85,9 @@ hdy_dialer_button_set_property (GObject *object,
static void
hdy_dialer_button_get_property (GObject *object,
guint property_id,
GValue *value,
GParamSpec *pspec)
guint property_id,
GValue *value,
GParamSpec *pspec)
{
HdyDialerButton *self = HDY_DIALER_BUTTON (object);
HdyDialerButtonPrivate *priv = hdy_dialer_button_get_instance_private(self);
......
......@@ -33,9 +33,9 @@ typedef struct
G_DEFINE_TYPE_WITH_PRIVATE (HdyDialerCycleButton, hdy_dialer_cycle_button, HDY_TYPE_DIALER_BUTTON)
enum {
PROP_0 = 0,
PROP_CYCLE_TIMEOUT,
PROP_LAST_PROP,
PROP_0 = 0,
PROP_CYCLE_TIMEOUT,
PROP_LAST_PROP,
};
static GParamSpec *props[PROP_LAST_PROP] = { NULL, };
......@@ -98,9 +98,9 @@ button_clicked_cb(HdyDialerCycleButton *self, GdkEventButton *event)
static void
hdy_dialer_cycle_button_set_property (GObject *object,
guint property_id,
const GValue *value,
GParamSpec *pspec)
guint property_id,
const GValue *value,
GParamSpec *pspec)
{
HdyDialerCycleButton *self = HDY_DIALER_CYCLE_BUTTON (object);
HdyDialerCycleButtonPrivate *priv = hdy_dialer_cycle_button_get_instance_private(self);
......@@ -120,9 +120,9 @@ hdy_dialer_cycle_button_set_property (GObject *object,
static void
hdy_dialer_cycle_button_get_property (GObject *object,
guint property_id,
GValue *value,
GParamSpec *pspec)
guint property_id,
GValue *value,
GParamSpec *pspec)
{
HdyDialerCycleButton *self = HDY_DIALER_CYCLE_BUTTON (object);
HdyDialerCycleButtonPrivate *priv = hdy_dialer_cycle_button_get_instance_private(self);
......
......@@ -33,9 +33,9 @@ G_DEFINE_TYPE_WITH_PRIVATE (HdyDialer, hdy_dialer, GTK_TYPE_GRID)
enum {
HDY_DIALER_PROP_0 = 0,
HDY_DIALER_PROP_NUMBER,
HDY_DIALER_PROP_LAST_PROP,
HDY_DIALER_PROP_0 = 0,
HDY_DIALER_PROP_NUMBER,
HDY_DIALER_PROP_LAST_PROP,
};
static GParamSpec *props[HDY_DIALER_PROP_LAST_PROP] = { NULL, };
......
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