aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-folder-selector-button.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/evolution-folder-selector-button.c')
-rw-r--r--shell/evolution-folder-selector-button.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/evolution-folder-selector-button.c b/shell/evolution-folder-selector-button.c
index b4fc4493b4..26a119e449 100644
--- a/shell/evolution-folder-selector-button.c
+++ b/shell/evolution-folder-selector-button.c
@@ -149,7 +149,7 @@ clicked (GtkButton *button)
GTK_TYPE_WINDOW);
gtk_widget_set_sensitive (GTK_WIDGET (parent_window), FALSE);
- gtk_object_ref (GTK_OBJECT (parent_window));
+ g_object_ref (parent_window);
folder_selector_button = EVOLUTION_FOLDER_SELECTOR_BUTTON (button);
priv = folder_selector_button->priv;
@@ -176,13 +176,13 @@ clicked (GtkButton *button)
* to just bail out here.
*/
if (GTK_OBJECT_DESTROYED (parent_window)) {
- gtk_object_unref (GTK_OBJECT (parent_window));
+ g_object_unref (parent_window);
return;
}
#endif
gtk_widget_set_sensitive (GTK_WIDGET (parent_window), TRUE);
- gtk_object_unref (GTK_OBJECT (parent_window));
+ g_object_unref (parent_window);
if (!return_folder) {
gtk_signal_emit (GTK_OBJECT (folder_selector_button),