aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-categories-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-categories-config.c')
-rw-r--r--e-util/e-categories-config.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/e-util/e-categories-config.c b/e-util/e-categories-config.c
index 7131f7b88c..9dcfc53da5 100644
--- a/e-util/e-categories-config.c
+++ b/e-util/e-categories-config.c
@@ -187,17 +187,13 @@ e_categories_config_open_dialog_for_entry (GtkEntry *entry)
text = gtk_entry_get_text (GTK_ENTRY (entry));
dialog = GTK_DIALOG (e_categories_new (text));
- gtk_object_set (GTK_OBJECT (dialog),
- "ecml", ecmlw,
- NULL);
+ g_object_set (dialog, "ecml", ecmlw, NULL);
/* run the dialog */
result = gtk_dialog_run (dialog);
if (result == 0) {
- gtk_object_get (GTK_OBJECT (dialog),
- "categories", &categories,
- NULL);
+ g_object_get (dialog, "categories", &categories, NULL);
gtk_entry_set_text (GTK_ENTRY (entry), categories);
g_free (categories);
}