author | Frank Zschockelt <lm@freakysoft.de> |
Mon, 13 May 2019 22:09:10 +0200 | |
changeset 739 | 4a32df98ff8c |
parent 690 | 7ccf2113ec5f |
permissions | -rw-r--r-- |
516
4dd3aa6b83e5
Change the tab width to 4 steps in the emacs headers
Mikael Hallendal <micke@imendio.com>
parents:
515
diff
changeset
|
1 |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
2 |
/* |
426
ab47db6da589
LmSimpleIO now implements the LmXmppWriter interface.
Mikael Hallendal <micke@imendio.com>
parents:
424
diff
changeset
|
3 |
* Copyright (C) 2008 Imendio AB |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
4 |
* |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
5 |
* This program is free software; you can redistribute it and/or |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
6 |
* modify it under the terms of the GNU Lesser General Public License as |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation; either version 2 of the |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
8 |
* License, or (at your option) any later version. |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
9 |
* |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
10 |
* This program is distributed in the hope that it will be useful, |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
13 |
* Lesser General Public License for more details. |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
14 |
* |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU Lesser General Public |
690
7ccf2113ec5f
Update the postal address of the FSF
Frank Zschockelt <lm@freakysoft.de>
parents:
624
diff
changeset
|
16 |
* License along with this program; if not, see <https://www.gnu.org/licenses> |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
17 |
*/ |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
18 |
|
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
19 |
#include <config.h> |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
20 |
|
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
21 |
#include "lm-marshal.h" |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
22 |
#include "lm-dummy.h" |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
23 |
|
739
4a32df98ff8c
g_type_class_add_private is deprecated since glib 2.58
Frank Zschockelt <lm@freakysoft.de>
parents:
690
diff
changeset
|
24 |
#define GET_PRIV(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), LM_TYPE_DUMMY, LmDummyPrivate)) |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
25 |
|
739
4a32df98ff8c
g_type_class_add_private is deprecated since glib 2.58
Frank Zschockelt <lm@freakysoft.de>
parents:
690
diff
changeset
|
26 |
typedef struct LmDummyPrivate LmDummyPrivate; |
4a32df98ff8c
g_type_class_add_private is deprecated since glib 2.58
Frank Zschockelt <lm@freakysoft.de>
parents:
690
diff
changeset
|
27 |
struct LmDummyPrivate { |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
28 |
gint my_prop; |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
29 |
}; |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
30 |
|
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
31 |
static void dummy_finalize (GObject *object); |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
32 |
static void dummy_get_property (GObject *object, |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
33 |
guint param_id, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
34 |
GValue *value, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
35 |
GParamSpec *pspec); |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
36 |
static void dummy_set_property (GObject *object, |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
37 |
guint param_id, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
38 |
const GValue *value, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
39 |
GParamSpec *pspec); |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
40 |
|
739
4a32df98ff8c
g_type_class_add_private is deprecated since glib 2.58
Frank Zschockelt <lm@freakysoft.de>
parents:
690
diff
changeset
|
41 |
G_DEFINE_TYPE_WITH_PRIVATE (LmDummy, lm_dummy, G_TYPE_OBJECT) |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
42 |
|
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
43 |
enum { |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
44 |
PROP_0, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
45 |
PROP_MY_PROP |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
46 |
}; |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
47 |
|
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
48 |
enum { |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
49 |
SIGNAL_NAME, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
50 |
LAST_SIGNAL |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
51 |
}; |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
52 |
|
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
53 |
static guint signals[LAST_SIGNAL] = { 0 }; |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
54 |
|
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
55 |
static void |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
56 |
lm_dummy_class_init (LmDummyClass *class) |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
57 |
{ |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
58 |
GObjectClass *object_class = G_OBJECT_CLASS (class); |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
59 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
60 |
object_class->finalize = dummy_finalize; |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
61 |
object_class->get_property = dummy_get_property; |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
62 |
object_class->set_property = dummy_set_property; |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
63 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
64 |
g_object_class_install_property (object_class, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
65 |
PROP_MY_PROP, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
66 |
g_param_spec_string ("my-prop", |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
67 |
"My Prop", |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
68 |
"My Property", |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
69 |
NULL, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
70 |
G_PARAM_READWRITE)); |
607 | 71 |
|
72 |
signals[SIGNAL_NAME] = |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
73 |
g_signal_new ("signal-name", |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
74 |
G_OBJECT_CLASS_TYPE (object_class), |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
75 |
G_SIGNAL_RUN_LAST, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
76 |
0, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
77 |
NULL, NULL, |
521
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
518
diff
changeset
|
78 |
_lm_marshal_VOID__INT, |
607 | 79 |
G_TYPE_NONE, |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
80 |
1, G_TYPE_INT); |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
81 |
} |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
82 |
|
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
83 |
static void |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
84 |
lm_dummy_init (LmDummy *dummy) |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
85 |
{ |
624 | 86 |
(void) GET_PRIV (dummy); |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
87 |
} |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
88 |
|
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
89 |
static void |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
90 |
dummy_finalize (GObject *object) |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
91 |
{ |
624 | 92 |
(void) GET_PRIV (object); |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
93 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
94 |
(G_OBJECT_CLASS (lm_dummy_parent_class)->finalize) (object); |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
95 |
} |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
96 |
|
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
97 |
static void |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
98 |
dummy_get_property (GObject *object, |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
99 |
guint param_id, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
100 |
GValue *value, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
101 |
GParamSpec *pspec) |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
102 |
{ |
739
4a32df98ff8c
g_type_class_add_private is deprecated since glib 2.58
Frank Zschockelt <lm@freakysoft.de>
parents:
690
diff
changeset
|
103 |
LmDummyPrivate *priv; |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
104 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
105 |
priv = GET_PRIV (object); |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
106 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
107 |
switch (param_id) { |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
108 |
case PROP_MY_PROP: |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
109 |
g_value_set_int (value, priv->my_prop); |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
110 |
break; |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
111 |
default: |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
112 |
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
113 |
break; |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
114 |
}; |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
115 |
} |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
116 |
|
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
117 |
static void |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
118 |
dummy_set_property (GObject *object, |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
119 |
guint param_id, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
120 |
const GValue *value, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
121 |
GParamSpec *pspec) |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
122 |
{ |
739
4a32df98ff8c
g_type_class_add_private is deprecated since glib 2.58
Frank Zschockelt <lm@freakysoft.de>
parents:
690
diff
changeset
|
123 |
LmDummyPrivate *priv; |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
124 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
125 |
priv = GET_PRIV (object); |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
126 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
127 |
switch (param_id) { |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
128 |
case PROP_MY_PROP: |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
129 |
priv->my_prop = g_value_get_int (value); |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
130 |
break; |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
131 |
default: |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
132 |
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
133 |
break; |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
134 |
}; |
424
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
135 |
} |
0603668c7ddc
Added lm-marshal.list and lm-marshal-main.c
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
136 |