diff options
author | rbuj <[email protected]> | 2020-10-16 22:51:15 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-11-24 14:53:30 +0100 |
commit | e6805e149177a343f3152bcd2cea9165904b686c (patch) | |
tree | 9597206276748da71ed021f45918110b9db191bb /capplets/appearance/appearance-font.c | |
parent | b45a719071cdb7bf009f7173b04a553b546491a5 (diff) | |
download | mate-control-center-e6805e149177a343f3152bcd2cea9165904b686c.tar.bz2 mate-control-center-e6805e149177a343f3152bcd2cea9165904b686c.tar.xz |
appearance: Introduce GET_WINDOW macro
Diffstat (limited to 'capplets/appearance/appearance-font.c')
-rw-r--r-- | capplets/appearance/appearance-font.c | 4 |
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"); |