diff options
author | Chris Toshok <toshok@ximian.com> | 2003-01-27 14:23:58 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2003-01-27 14:23:58 +0800 |
commit | d79f733942e7e9b308cc1e5691e0fd3d2ba697cc (patch) | |
tree | 9e952c195fbf46f2deea44f35055cd0bb6b5a13b | |
parent | 58f0adcb24e054edad45b9e8969d84648699857b (diff) | |
download | gsoc2013-evolution-d79f733942e7e9b308cc1e5691e0fd3d2ba697cc.tar.gz gsoc2013-evolution-d79f733942e7e9b308cc1e5691e0fd3d2ba697cc.tar.zst gsoc2013-evolution-d79f733942e7e9b308cc1e5691e0fd3d2ba697cc.zip |
ref/sink the pilot settings to clear up that gtk warning.
2003-01-26 Chris Toshok <toshok@ximian.com>
* e-pilot-settings.c (e_pilot_settings_new): ref/sink the pilot
settings to clear up that gtk warning.
svn path=/trunk/; revision=19644
-rw-r--r-- | e-util/ChangeLog | 5 | ||||
-rw-r--r-- | e-util/e-pilot-settings.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index f0eaf86194..3a0896ab8a 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,8 @@ +2003-01-26 Chris Toshok <toshok@ximian.com> + + * e-pilot-settings.c (e_pilot_settings_new): ref/sink the pilot + settings to clear up that gtk warning. + 2003-01-25 Chris Toshok <toshok@ximian.com> * e-pilot-map.c (e_pilot_map_read): g_file_exists -> g_file_test. diff --git a/e-util/e-pilot-settings.c b/e-util/e-pilot-settings.c index 9eed8a9f79..7649f60287 100644 --- a/e-util/e-pilot-settings.c +++ b/e-util/e-pilot-settings.c @@ -114,7 +114,11 @@ init (EPilotSettings *ps) GtkWidget * e_pilot_settings_new (void) { - return g_object_new (E_TYPE_PILOT_SETTINGS, NULL); + GtkWidget *w = g_object_new (E_TYPE_PILOT_SETTINGS, NULL); + g_object_ref (w); + gtk_object_sink (GTK_OBJECT (w)); + + return w; } gboolean |