[Pkg-privacy-commits] [nautilus-wipe] 167/224: Force accessing object private data through object->priv
Ulrike Uhlig
u-guest at moszumanska.debian.org
Thu Jul 7 19:45:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to branch master
in repository nautilus-wipe.
commit c00eb7a8f0d112e2cfb0689da72ada826ed37fde
Author: Colomban Wendling <ban at herbesfolles.org>
Date: Mon May 21 19:25:24 2012 +0200
Force accessing object private data through object->priv
---
nautilus-wipe/nw-progress-dialog.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/nautilus-wipe/nw-progress-dialog.c b/nautilus-wipe/nw-progress-dialog.c
index 5ab16d7..2982763 100644
--- a/nautilus-wipe/nw-progress-dialog.c
+++ b/nautilus-wipe/nw-progress-dialog.c
@@ -41,8 +41,6 @@ struct _NwProgressDialogPrivate {
gboolean auto_hide_action_area;
};
-#define GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), NW_TYPE_PROGRESS_DIALOG, NwProgressDialogPrivate))
-
enum
{
PROP_0,
@@ -167,7 +165,9 @@ nw_progress_dialog_init (NwProgressDialog *self)
GtkWidget *content_area;
GtkWidget *vbox;
- self->priv = GET_PRIVATE (self);
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ NW_TYPE_PROGRESS_DIALOG,
+ NwProgressDialogPrivate);
self->priv->progress = GTK_PROGRESS_BAR (gtk_progress_bar_new ());
self->priv->label = GTK_LABEL (gtk_label_new (""));
self->priv->close_button = NULL;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/nautilus-wipe.git
More information about the Pkg-privacy-commits
mailing list