summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-07 12:30:15 +0200
committerlukefromdc <[email protected]>2020-02-24 03:18:55 +0000
commit0500b6254a8929d423375215187a0cae43c875ba (patch)
tree4c0ffef89d9e895d13789703090684a5912961af
parentb714b324e9ed630bc1a137bb3d4c924191f60da2 (diff)
downloadengrampa-0500b6254a8929d423375215187a0cae43c875ba.tar.bz2
engrampa-0500b6254a8929d423375215187a0cae43c875ba.tar.xz
dlg-new: Use GET_WIDGET macro
-rw-r--r--src/dlg-new.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/dlg-new.c b/src/dlg-new.c
index d7e6469..84ecb7e 100644
--- a/src/dlg-new.c
+++ b/src/dlg-new.c
@@ -287,18 +287,18 @@ dlg_new_archive (FrWindow *window,
/* Get the widgets. */
- data->dialog = _gtk_builder_get_widget (data->builder, "filechooserdialog");
+ data->dialog = GET_WIDGET ("filechooserdialog");
- data->n_password_entry = _gtk_builder_get_widget (data->builder, "n_password_entry");
- data->n_password_label = _gtk_builder_get_widget (data->builder, "n_password_label");
- data->n_other_options_expander = _gtk_builder_get_widget (data->builder, "n_other_options_expander");
- data->n_encrypt_header_checkbutton = _gtk_builder_get_widget (data->builder, "n_encrypt_header_checkbutton");
+ data->n_password_entry = GET_WIDGET ("n_password_entry");
+ data->n_password_label = GET_WIDGET ("n_password_label");
+ data->n_other_options_expander = GET_WIDGET ("n_other_options_expander");
+ data->n_encrypt_header_checkbutton = GET_WIDGET ("n_encrypt_header_checkbutton");
- data->n_volume_checkbutton = _gtk_builder_get_widget (data->builder, "n_volume_checkbutton");
- data->n_volume_spinbutton = _gtk_builder_get_widget (data->builder, "n_volume_spinbutton");
- data->n_volume_box = _gtk_builder_get_widget (data->builder, "n_volume_box");
+ data->n_volume_checkbutton = GET_WIDGET ("n_volume_checkbutton");
+ data->n_volume_spinbutton = GET_WIDGET ("n_volume_spinbutton");
+ data->n_volume_box = GET_WIDGET ("n_volume_box");
- n_new_button = _gtk_builder_get_widget (data->builder, "n_new_button");
+ n_new_button = GET_WIDGET ("n_new_button");
/* Set widgets data. */