diff options
author | Giovanni Campagna <gcampagna@src.gnome.org> | 2011-01-06 20:12:42 +0100 |
---|---|---|
committer | Giovanni Campagna <gcampagna@src.gnome.org> | 2011-01-06 20:12:42 +0100 |
commit | 46d48ab6ec256498d0dd0a5c97c0388381971cbf (patch) | |
tree | a260d050408a8868f428aa3640ea1bc91d22ccf6 | |
parent | 7c2e51427fff29f1582eb5ed035f8c7637ea908f (diff) | |
download | gnome-desktop-gobject-gnomerr.tar.gz |
GnomeRROutputInfo: rename boolean accessorsgobject-gnomerr
Rename get_connected() to is_connected() and get_active() to
is_active(), following the normal convention.
-rw-r--r-- | libgnome-desktop/gnome-rr-config.h | 4 | ||||
-rw-r--r-- | libgnome-desktop/gnome-rr-output-info.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/libgnome-desktop/gnome-rr-config.h b/libgnome-desktop/gnome-rr-config.h index 5581e2f8..b960eb5d 100644 --- a/libgnome-desktop/gnome-rr-config.h +++ b/libgnome-desktop/gnome-rr-config.h @@ -61,7 +61,7 @@ GType gnome_rr_output_info_get_type (void); char *gnome_rr_output_info_get_name (GnomeRROutputInfo *self); -gboolean gnome_rr_output_info_get_active (GnomeRROutputInfo *self); +gboolean gnome_rr_output_info_is_active (GnomeRROutputInfo *self); void gnome_rr_output_info_set_active (GnomeRROutputInfo *self, gboolean active); void gnome_rr_output_info_get_geometry (GnomeRROutputInfo *self, int *x, int *y, int *width, int *height); @@ -73,7 +73,7 @@ void gnome_rr_output_info_set_refresh_rate (GnomeRROutputInfo *self, int rate); GnomeRRRotation gnome_rr_output_info_get_rotation (GnomeRROutputInfo *self); void gnome_rr_output_info_set_rotation (GnomeRROutputInfo *self, GnomeRRRotation rotation); -gboolean gnome_rr_output_info_get_connected (GnomeRROutputInfo *self); +gboolean gnome_rr_output_info_is_connected (GnomeRROutputInfo *self); void gnome_rr_output_info_get_vendor (GnomeRROutputInfo *self, gchar* vendor); guint gnome_rr_output_info_get_product (GnomeRROutputInfo *self); guint gnome_rr_output_info_get_serial (GnomeRROutputInfo *self); diff --git a/libgnome-desktop/gnome-rr-output-info.c b/libgnome-desktop/gnome-rr-output-info.c index fedb9bb9..8936eedc 100644 --- a/libgnome-desktop/gnome-rr-output-info.c +++ b/libgnome-desktop/gnome-rr-output-info.c @@ -76,11 +76,11 @@ char *gnome_rr_output_info_get_name (GnomeRROutputInfo *self) } /** - * gnome_rr_output_info_get_active: + * gnome_rr_output_info_is_active: * * Returns: whether there is a CRTC assigned to this output (i.e. a signal is being sent to it) */ -gboolean gnome_rr_output_info_get_active (GnomeRROutputInfo *self) +gboolean gnome_rr_output_info_is_active (GnomeRROutputInfo *self) { g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (self), FALSE); @@ -156,11 +156,11 @@ void gnome_rr_output_info_set_rotation (GnomeRROutputInfo *self, GnomeRRRotation } /** - * gnome_rr_output_info_get_connected: + * gnome_rr_output_info_is_connected: * * Returns: whether the output is physically connected to a monitor */ -gboolean gnome_rr_output_info_get_connected (GnomeRROutputInfo *self) +gboolean gnome_rr_output_info_is_connected (GnomeRROutputInfo *self) { g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (self), FALSE); |