gconf_entry_free() is deprecated. Use gconf_entry_unref() instead.

2006-12-28  Felix Riemann  <friemann@cvs.gnome.org>

	* shell/eog-window.c: (eog_window_update_properties):
	gconf_entry_free() is deprecated. Use gconf_entry_unref() instead.
This commit is contained in:
Felix Riemann 2006-12-28 17:38:29 +00:00 committed by Felix Riemann
parent cff5ef418d
commit 211c4c3559
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2006-12-28 Felix Riemann <friemann@cvs.gnome.org>
* shell/eog-window.c: (eog_window_update_properties):
gconf_entry_free() is deprecated. Use gconf_entry_unref() instead.
2006-12-28 Felix Riemann <friemann@cvs.gnome.org>
* libeog/eog-image-list.c: (eog_image_list_class_init):

View file

@ -3849,21 +3849,21 @@ eog_window_update_properties (EogWindow *window)
entry = gconf_client_get_entry (priv->client, EOG_CONF_VIEW_INTERPOLATE, NULL, TRUE, NULL);
if (entry != NULL) {
interp_type_changed_cb (priv->client, 0, entry, window);
gconf_entry_free (entry);
gconf_entry_unref (entry);
entry = NULL;
}
entry = gconf_client_get_entry (priv->client, EOG_CONF_VIEW_TRANSPARENCY, NULL, TRUE, NULL);
if (entry != NULL) {
transparency_changed_cb (priv->client, 0, entry, window);
gconf_entry_free (entry);
gconf_entry_unref (entry);
entry = NULL;
}
entry = gconf_client_get_entry (priv->client, EOG_CONF_VIEW_TRANS_COLOR, NULL, TRUE, NULL);
if (entry != NULL) {
trans_color_changed_cb (priv->client, 0, entry, window);
gconf_entry_free (entry);
gconf_entry_unref (entry);
entry = NULL;
}
}