summaryrefslogtreecommitdiff
path: root/capplets/appearance/appearance-font.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/appearance/appearance-font.c')
-rw-r--r--capplets/appearance/appearance-font.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/capplets/appearance/appearance-font.c b/capplets/appearance/appearance-font.c
index 528253fa..9f1bdba5 100644
--- a/capplets/appearance/appearance-font.c
+++ b/capplets/appearance/appearance-font.c
@@ -610,7 +610,7 @@ cb_add_new_font (GtkWidget *button,
gint res;
dialog = gtk_file_chooser_dialog_new (_("Select Font"),
- GTK_WINDOW (appearance_capplet_get_widget (data, "appearance_window")),
+ GET_WINDOW ("appearance_window"),
action,
_("_Cancel"),
GTK_RESPONSE_CANCEL,
@@ -648,7 +648,7 @@ cb_show_details (GtkWidget *button,
data->font_details = appearance_capplet_get_widget (data, "render_details");
gtk_window_set_transient_for (GTK_WINDOW (data->font_details),
- GTK_WINDOW (appearance_capplet_get_widget (data, "appearance_window")));
+ GET_WINDOW ("appearance_window"));
spinner = appearance_capplet_get_widget (data, "dpi_spinner");
toggle = appearance_capplet_get_widget (data, "dpi_reset_switch");