[gedit] close-confirmation-dialog: fix property name
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] close-confirmation-dialog: fix property name
- Date: Mon, 21 Sep 2015 10:48:31 +0000 (UTC)
commit 466722bbe4be1f516166bd54e6726369879a8464
Author: Sebastien Lafargue <slafargue gnome org>
Date: Sun Sep 20 10:17:34 2015 +0200
close-confirmation-dialog: fix property name
fix non-valid property name with an underscore.
https://bugzilla.gnome.org/show_bug.cgi?id=755294
gedit/gedit-close-confirmation-dialog.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-close-confirmation-dialog.c b/gedit/gedit-close-confirmation-dialog.c
index 18e70df..77d5eec 100644
--- a/gedit/gedit-close-confirmation-dialog.c
+++ b/gedit/gedit-close-confirmation-dialog.c
@@ -229,7 +229,7 @@ gedit_close_confirmation_dialog_class_init (GeditCloseConfirmationDialogClass *k
gobject_class->finalize = gedit_close_confirmation_dialog_finalize;
properties[PROP_UNSAVED_DOCUMENTS] =
- g_param_spec_pointer ("unsaved_documents",
+ g_param_spec_pointer ("unsaved-documents",
"Unsaved Documents",
"List of Unsaved Documents",
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
@@ -256,7 +256,7 @@ gedit_close_confirmation_dialog_new (GtkWindow *parent,
dlg = GTK_WIDGET (g_object_new (GEDIT_TYPE_CLOSE_CONFIRMATION_DIALOG,
"use-header-bar", FALSE,
- "unsaved_documents", unsaved_documents,
+ "unsaved-documents", unsaved_documents,
NULL));
/* As GtkMessageDialog we look at the setting to check
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]