mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
big header formatting cleanup: indentation, vtable formatting, consistent
2008-09-02 Michael Natterer <mitch@imendio.com> * *.h: big header formatting cleanup: indentation, vtable formatting, consistent spacing in (* vfunc), trailing whitespace removal. Formatting should be pretty consistent in all GIO headers now. svn path=/trunk/; revision=7433
This commit is contained in:
committed by
Michael Natterer
parent
920f3bffb3
commit
f2a2d6c9ac
@@ -1,5 +1,5 @@
|
||||
/* GIO - GLib Input, Output and Streaming Library
|
||||
*
|
||||
*
|
||||
* Copyright (C) 2006-2007 Red Hat, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
@@ -43,7 +43,7 @@ typedef struct _GFileMonitorPrivate GFileMonitorPrivate;
|
||||
|
||||
/**
|
||||
* GFileMonitor:
|
||||
*
|
||||
*
|
||||
* Watches for changes to a file.
|
||||
**/
|
||||
struct _GFileMonitor
|
||||
@@ -57,15 +57,15 @@ struct _GFileMonitor
|
||||
struct _GFileMonitorClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
|
||||
|
||||
/* Signals */
|
||||
void (* changed) (GFileMonitor* monitor,
|
||||
GFile* file,
|
||||
GFile* other_file,
|
||||
GFileMonitorEvent event_type);
|
||||
|
||||
void (* changed) (GFileMonitor *monitor,
|
||||
GFile *file,
|
||||
GFile *other_file,
|
||||
GFileMonitorEvent event_type);
|
||||
|
||||
/* Virtual Table */
|
||||
gboolean (*cancel)(GFileMonitor* monitor);
|
||||
gboolean (* cancel) (GFileMonitor *monitor);
|
||||
|
||||
/*< private >*/
|
||||
/* Padding for future expansion */
|
||||
@@ -76,19 +76,19 @@ struct _GFileMonitorClass
|
||||
void (*_g_reserved5) (void);
|
||||
};
|
||||
|
||||
GType g_file_monitor_get_type (void) G_GNUC_CONST;
|
||||
GType g_file_monitor_get_type (void) G_GNUC_CONST;
|
||||
|
||||
gboolean g_file_monitor_cancel (GFileMonitor *monitor);
|
||||
gboolean g_file_monitor_is_cancelled (GFileMonitor *monitor);
|
||||
void g_file_monitor_set_rate_limit (GFileMonitor *monitor,
|
||||
int limit_msecs);
|
||||
gboolean g_file_monitor_cancel (GFileMonitor *monitor);
|
||||
gboolean g_file_monitor_is_cancelled (GFileMonitor *monitor);
|
||||
void g_file_monitor_set_rate_limit (GFileMonitor *monitor,
|
||||
int limit_msecs);
|
||||
|
||||
|
||||
/* For implementations */
|
||||
void g_file_monitor_emit_event (GFileMonitor *monitor,
|
||||
GFile *child,
|
||||
GFile *other_file,
|
||||
GFileMonitorEvent event_type);
|
||||
void g_file_monitor_emit_event (GFileMonitor *monitor,
|
||||
GFile *child,
|
||||
GFile *other_file,
|
||||
GFileMonitorEvent event_type);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user