X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkmountoperation.h;h=cff736e188be3f70448c1d18327286bab82751db;hb=ea043cab5718304d9b6170afa2d3f959fc99c718;hp=3fe99c5ef0de44659ebbffb550bf20b1a6b5eb7c;hpb=e1092e9a60c6ff1faa8cf0e89f3d39ee334e17cd;p=~andy%2Fgtk diff --git a/gtk/gtkmountoperation.h b/gtk/gtkmountoperation.h index 3fe99c5ef..cff736e18 100644 --- a/gtk/gtkmountoperation.h +++ b/gtk/gtkmountoperation.h @@ -12,9 +12,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ /* @@ -27,10 +25,9 @@ #ifndef __GTK_MOUNT_OPERATION_H__ #define __GTK_MOUNT_OPERATION_H__ -#include -#include -#include -#include +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif G_BEGIN_DECLS @@ -41,18 +38,23 @@ G_BEGIN_DECLS #define GTK_IS_MOUNT_OPERATION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_MOUNT_OPERATION)) #define GTK_MOUNT_OPERATION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_MOUNT_OPERATION, GtkMountOperationClass)) -typedef struct GtkMountOperation GtkMountOperation; -typedef struct GtkMountOperationClass GtkMountOperationClass; -typedef struct GtkMountOperationPrivate GtkMountOperationPrivate; +typedef struct _GtkMountOperation GtkMountOperation; +typedef struct _GtkMountOperationClass GtkMountOperationClass; +typedef struct _GtkMountOperationPrivate GtkMountOperationPrivate; -struct GtkMountOperation +/** + * GtkMountOperation: + * + * This should not be accessed directly. Use the accessor functions below. + */ +struct _GtkMountOperation { GMountOperation parent_instance; GtkMountOperationPrivate *priv; }; -struct GtkMountOperationClass +struct _GtkMountOperationClass { GMountOperationClass parent_class; @@ -77,4 +79,3 @@ GdkScreen *gtk_mount_operation_get_screen (GtkMountOperation *op); G_END_DECLS #endif /* __GTK_MOUNT_OPERATION_H__ */ -