aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-04-07 10:09:59 +0800
committerChris Toshok <toshok@src.gnome.org>2003-04-07 10:09:59 +0800
commitea6d89e8048c2dc68071fa561364b75977e5ba9d (patch)
treee17f3295d917bb86b71a14c7bcf1bd3ab61d7daa /widgets
parent1ade970722a1bb0608f0282f38df3c1efd3db4b6 (diff)
downloadgsoc2013-evolution-ea6d89e8048c2dc68071fa561364b75977e5ba9d.tar
gsoc2013-evolution-ea6d89e8048c2dc68071fa561364b75977e5ba9d.tar.gz
gsoc2013-evolution-ea6d89e8048c2dc68071fa561364b75977e5ba9d.tar.bz2
gsoc2013-evolution-ea6d89e8048c2dc68071fa561364b75977e5ba9d.tar.lz
gsoc2013-evolution-ea6d89e8048c2dc68071fa561364b75977e5ba9d.tar.xz
gsoc2013-evolution-ea6d89e8048c2dc68071fa561364b75977e5ba9d.tar.zst
gsoc2013-evolution-ea6d89e8048c2dc68071fa561364b75977e5ba9d.zip
e_cell_percent_get_type returns GType, not GtkType.
2003-04-06 Chris Toshok <toshok@ximian.com> * e-cell-percent.h: e_cell_percent_get_type returns GType, not GtkType. * e-cell-percent.c (e_cell_percent_new): use g_object_new, not gtk_object_new. svn path=/trunk/; revision=20692
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog8
-rw-r--r--widgets/misc/e-cell-percent.c2
-rw-r--r--widgets/misc/e-cell-percent.h2
3 files changed, 10 insertions, 2 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index f6ce7c1348..9a79b5e70a 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,11 @@
+2003-04-06 Chris Toshok <toshok@ximian.com>
+
+ * e-cell-percent.h: e_cell_percent_get_type returns GType, not
+ GtkType.
+
+ * e-cell-percent.c (e_cell_percent_new): use g_object_new, not
+ gtk_object_new.
+
2003-04-02 Hans Petter Jansson <hpj@ximian.com>
* e-calendar-item.c (e_calendar_item_set_selection): For example;
diff --git a/widgets/misc/e-cell-percent.c b/widgets/misc/e-cell-percent.c
index e2e6ae6b6b..82ab3a72f8 100644
--- a/widgets/misc/e-cell-percent.c
+++ b/widgets/misc/e-cell-percent.c
@@ -147,7 +147,7 @@ e_cell_percent_init (GtkObject *object)
ECell *
e_cell_percent_new (const char *fontname, GtkJustification justify)
{
- ECellPercent *ecn = gtk_type_new (e_cell_percent_get_type ());
+ ECellPercent *ecn = g_object_new (E_CELL_PERCENT_TYPE, NULL);
e_cell_text_construct (E_CELL_TEXT(ecn), fontname, justify);
diff --git a/widgets/misc/e-cell-percent.h b/widgets/misc/e-cell-percent.h
index 74f56ae225..6207e0c878 100644
--- a/widgets/misc/e-cell-percent.h
+++ b/widgets/misc/e-cell-percent.h
@@ -45,7 +45,7 @@ typedef struct {
ECellTextClass parent_class;
} ECellPercentClass;
-GtkType e_cell_percent_get_type (void);
+GType e_cell_percent_get_type (void);
ECell *e_cell_percent_new (const char *fontname, GtkJustification justify);
#endif /* _E_CELL_PERCENT_H_ */