[gnome-commander] GnomeCmdStringDialog: drop typedef struct



commit 314b149683bae365f579d559ec1163e9b33deecb
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Thu Sep 15 21:57:21 2011 +0200

    GnomeCmdStringDialog: drop typedef struct

 libgcmd/gnome-cmd-string-dialog.cc |    2 +-
 libgcmd/gnome-cmd-string-dialog.h  |   10 ++--------
 2 files changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/libgcmd/gnome-cmd-string-dialog.cc b/libgcmd/gnome-cmd-string-dialog.cc
index 425fedb..eb1dc5b 100644
--- a/libgcmd/gnome-cmd-string-dialog.cc
+++ b/libgcmd/gnome-cmd-string-dialog.cc
@@ -24,7 +24,7 @@
 #include "gnome-cmd-string-dialog.h"
 #include "libgcmd-widget-factory.h"
 
-struct _GnomeCmdStringDialogPrivate
+struct GnomeCmdStringDialogPrivate
 {
     GnomeCmdStringDialogCallback ok_cb;
     GFunc cancel_cb;
diff --git a/libgcmd/gnome-cmd-string-dialog.h b/libgcmd/gnome-cmd-string-dialog.h
index a19f26e..fc1bdc1 100644
--- a/libgcmd/gnome-cmd-string-dialog.h
+++ b/libgcmd/gnome-cmd-string-dialog.h
@@ -29,13 +29,7 @@
 #define GNOME_CMD_STRING_DIALOG_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS((obj), GNOME_CMD_TYPE_STRING_DIALOG, GnomeCmdStringDialogClass))
 
 
-typedef struct _GnomeCmdStringDialog GnomeCmdStringDialog;
-typedef struct _GnomeCmdStringDialogPrivate GnomeCmdStringDialogPrivate;
-typedef struct _GnomeCmdStringDialogClass GnomeCmdStringDialogClass;
-
-
-
-struct _GnomeCmdStringDialog
+xstruct GnomeCmdStringDialog
 {
     GnomeCmdDialog parent;
 
@@ -47,7 +41,7 @@ struct _GnomeCmdStringDialog
 };
 
 
-struct _GnomeCmdStringDialogClass
+struct GnomeCmdStringDialogClass
 {
     GnomeCmdDialogClass parent_class;
 };



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]