summaryrefslogtreecommitdiff
path: root/src/caja-emblem-sidebar.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-06 14:14:59 +0200
committerStefano Karapetsas <[email protected]>2012-09-06 14:14:59 +0200
commitf426641aacea9d5f7683be776536bc6301c7baef (patch)
treed19911212091bfcadf2a976d219aca093ef0606f /src/caja-emblem-sidebar.c
parent465e6ae56a2a81cd346d573532dc4a39c16df225 (diff)
downloadcaja-f426641aacea9d5f7683be776536bc6301c7baef.tar.bz2
caja-f426641aacea9d5f7683be776536bc6301c7baef.tar.xz
remove latest mateconf usage
metadata saved in files instead of migrate to gsettings (caja-desktop-metadata.c is from nautilus)
Diffstat (limited to 'src/caja-emblem-sidebar.c')
-rw-r--r--src/caja-emblem-sidebar.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/caja-emblem-sidebar.c b/src/caja-emblem-sidebar.c
index 57a8ab21..7c188a7d 100644
--- a/src/caja-emblem-sidebar.c
+++ b/src/caja-emblem-sidebar.c
@@ -43,7 +43,6 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
-#include <mateconf/mateconf-client.h>
#include <libcaja-private/caja-icon-dnd.h>
#include <libcaja-private/caja-emblem-utils.h>
#include <libcaja-private/caja-file-utilities.h>
@@ -54,7 +53,6 @@
struct CajaEmblemSidebarDetails
{
CajaWindowInfo *window;
- MateConfClient *client;
GtkWidget *emblems_table;
GtkWidget *popup;
GtkWidget *popup_remove;
@@ -1040,8 +1038,6 @@ caja_emblem_sidebar_init (CajaEmblemSidebar *emblem_sidebar)
emblem_sidebar->details = g_new0 (CajaEmblemSidebarDetails, 1);
- emblem_sidebar->details->client = mateconf_client_get_default ();
-
create_popup_menu (emblem_sidebar);
widget = caja_emblem_sidebar_create_container (emblem_sidebar);
@@ -1065,11 +1061,6 @@ caja_emblem_sidebar_finalize (GObject *object)
if (emblem_sidebar->details != NULL)
{
- if (emblem_sidebar->details->client != NULL)
- {
- g_object_unref (emblem_sidebar->details->client);
- }
-
g_free (emblem_sidebar->details);
}