[Xfce4-commits] r25392 - squeeze/trunk/src
Stephan Arts
stephan at xfce.org
Fri Apr 6 00:16:18 CEST 2007
Author: stephan
Date: 2007-04-05 22:16:17 +0000 (Thu, 05 Apr 2007)
New Revision: 25392
Modified:
squeeze/trunk/src/Makefile.am
squeeze/trunk/src/throbber-fallback.h
squeeze/trunk/src/throbber.c
squeeze/trunk/src/throbber.h
Log:
fixed funky indent
Modified: squeeze/trunk/src/Makefile.am
===================================================================
--- squeeze/trunk/src/Makefile.am 2007-04-05 17:34:25 UTC (rev 25391)
+++ squeeze/trunk/src/Makefile.am 2007-04-05 22:16:17 UTC (rev 25392)
@@ -55,5 +55,11 @@
INCLUDES = \
-I${top_srcdir}
+DISTCLEANFILES = \
+ throbber-fallback.c
+
+#BUILT_SOURCES = \
+# throbber-fallback.c
+
throbber-fallback.c: $(srcdir)/throbber-fallback.png Makefile
(echo "#include \"throbber-fallback.h\"" && gdk-pixbuf-csource --extern --raw --stream --name=sq_throbber_fallback $(srcdir)/throbber-fallback.png) > throbber-fallback.c
Modified: squeeze/trunk/src/throbber-fallback.h
===================================================================
--- squeeze/trunk/src/throbber-fallback.h 2007-04-05 17:34:25 UTC (rev 25391)
+++ squeeze/trunk/src/throbber-fallback.h 2007-04-05 22:16:17 UTC (rev 25392)
@@ -10,16 +10,16 @@
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc., 59 Temple
- * Place, Suite 330, Boston, MA 02111-1307 USA
+ * Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#ifndef __THUNAR_THROBBER_FALLBACK_H__
-#define __THUNAR_THROBBER_FALLBACK_H__
+#ifndef __SQUEEZE_THROBBER_FALLBACK_H__
+#define __SQUEEZE_THROBBER_FALLBACK_H__
#include <glib.h>
@@ -29,4 +29,4 @@
G_END_DECLS;
-#endif /* !__THUNAR_THROBBER_FALLBACK_H__ */
+#endif /* !__SQUEEZE_THROBBER_FALLBACK_H__ */
Modified: squeeze/trunk/src/throbber.c
===================================================================
--- squeeze/trunk/src/throbber.c 2007-04-05 17:34:25 UTC (rev 25391)
+++ squeeze/trunk/src/throbber.c 2007-04-05 22:16:17 UTC (rev 25392)
@@ -10,12 +10,12 @@
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc., 59 Temple
- * Place, Suite 330, Boston, MA 02111-1307 USA
+ * Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifdef HAVE_CONFIG_H
@@ -32,48 +32,48 @@
/* Property identifiers */
enum
{
- PROP_0,
- PROP_ANIMATED,
+ PROP_0,
+ PROP_ANIMATED,
};
-static void sq_throbber_class_init (SQThrobberClass *klass);
-static void sq_throbber_init (SQThrobber *throbber);
-static void sq_throbber_dispose (GObject *object);
-static void sq_throbber_get_property (GObject *object,
- guint prop_id,
- GValue *value,
- GParamSpec *pspec);
-static void sq_throbber_set_property (GObject *object,
- guint prop_id,
- const GValue *value,
- GParamSpec *pspec);
-static void sq_throbber_realize (GtkWidget *widget);
-static void sq_throbber_unrealize (GtkWidget *widget);
-static void sq_throbber_size_request (GtkWidget *widget,
- GtkRequisition *requisition);
-static gboolean sq_throbber_expose_event (GtkWidget *widget,
- GdkEventExpose *event);
-static gboolean sq_throbber_timer (gpointer user_data);
-static void sq_throbber_timer_destroy (gpointer user_data);
+static void sq_throbber_class_init(SQThrobberClass *klass);
+static void sq_throbber_init(SQThrobber *throbber);
+static void sq_throbber_dispose(GObject *object);
+static void sq_throbber_get_property(GObject *object,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *pspec);
+static void sq_throbber_set_property(GObject *object,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *pspec);
+static void sq_throbber_realize(GtkWidget *widget);
+static void sq_throbber_unrealize(GtkWidget *widget);
+static void sq_throbber_size_request(GtkWidget *widget,
+ GtkRequisition *requisition);
+static gboolean sq_throbber_expose_event(GtkWidget *widget,
+ GdkEventExpose *event);
+static gboolean sq_throbber_timer(gpointer user_data);
+static void sq_throbber_timer_destroy(gpointer user_data);
struct _SQThrobberClass
{
- GtkWidgetClass __parent__;
+ GtkWidgetClass __parent__;
};
struct _SQThrobber
{
- GtkWidget __parent__;
+ GtkWidget __parent__;
- GdkPixbuf *icon;
+ GdkPixbuf *icon;
- gboolean animated;
- gint index;
- gint timer_id;
+ gboolean animated;
+ gint index;
+ gint timer_id;
};
@@ -85,28 +85,28 @@
GType
sq_throbber_get_type (void)
{
- static GType type = G_TYPE_INVALID;
+ static GType type = G_TYPE_INVALID;
- if (G_UNLIKELY (type == G_TYPE_INVALID))
- {
- static const GTypeInfo info =
- {
- sizeof (SQThrobberClass),
- NULL,
- NULL,
- (GClassInitFunc) sq_throbber_class_init,
- NULL,
- NULL,
- sizeof (SQThrobber),
- 0,
- (GInstanceInitFunc) sq_throbber_init,
- NULL,
- };
+ if (G_UNLIKELY (type == G_TYPE_INVALID))
+ {
+ static const GTypeInfo info =
+ {
+ sizeof (SQThrobberClass),
+ NULL,
+ NULL,
+ (GClassInitFunc) sq_throbber_class_init,
+ NULL,
+ NULL,
+ sizeof (SQThrobber),
+ 0,
+ (GInstanceInitFunc) sq_throbber_init,
+ NULL,
+ };
- type = g_type_register_static (GTK_TYPE_WIDGET, I_("SQThrobber"), &info, 0);
- }
+ type = g_type_register_static (GTK_TYPE_WIDGET, I_("SQThrobber"), &info, 0);
+ }
- return type;
+ return type;
}
@@ -114,41 +114,39 @@
static void
sq_throbber_class_init (SQThrobberClass *klass)
{
- GtkWidgetClass *gtkwidget_class;
- GObjectClass *gobject_class;
- GdkPixbuf *icon;
+ GtkWidgetClass *gtkwidget_class;
+ GObjectClass *gobject_class;
+ GdkPixbuf *icon;
- /* determine the parent type class */
- sq_throbber_parent_class = g_type_class_peek_parent (klass);
+ /* determine the parent type class */
+ sq_throbber_parent_class = g_type_class_peek_parent (klass);
- gobject_class = G_OBJECT_CLASS (klass);
- gobject_class->dispose = sq_throbber_dispose;
- gobject_class->get_property = sq_throbber_get_property;
- gobject_class->set_property = sq_throbber_set_property;
+ gobject_class = G_OBJECT_CLASS (klass);
+ gobject_class->dispose = sq_throbber_dispose;
+ gobject_class->get_property = sq_throbber_get_property;
+ gobject_class->set_property = sq_throbber_set_property;
- gtkwidget_class = GTK_WIDGET_CLASS (klass);
- gtkwidget_class->realize = sq_throbber_realize;
- gtkwidget_class->unrealize = sq_throbber_unrealize;
- gtkwidget_class->size_request = sq_throbber_size_request;
- gtkwidget_class->expose_event = sq_throbber_expose_event;
+ gtkwidget_class = GTK_WIDGET_CLASS (klass);
+ gtkwidget_class->realize = sq_throbber_realize;
+ gtkwidget_class->unrealize = sq_throbber_unrealize;
+ gtkwidget_class->size_request = sq_throbber_size_request;
+ gtkwidget_class->expose_event = sq_throbber_expose_event;
- /**
- * SQThrobber:animated:
- *
- * Whether the throbber should display an animation.
- **/
- g_object_class_install_property (gobject_class,
- PROP_ANIMATED,
- g_param_spec_boolean ("animated",
- "animated",
- "animated",
- FALSE,
- EXO_PARAM_READWRITE));
+ /**
+ * SQThrobber:animated:
+ *
+ * Whether the throbber should display an animation.
+ **/
+ g_object_class_install_property (gobject_class,
+ PROP_ANIMATED,
+ g_param_spec_boolean ("animated",
+ "animated", "animated", \
+ FALSE, EXO_PARAM_READWRITE));
- /* register the "process-working" fallback icon */
- icon = gdk_pixbuf_new_from_inline (-1, sq_throbber_fallback, FALSE, NULL);
- gtk_icon_theme_add_builtin_icon ("process-working", 16, icon);
- g_object_unref (G_OBJECT (icon));
+ /* register the "process-working" fallback icon */
+ icon = gdk_pixbuf_new_from_inline (-1, sq_throbber_fallback, FALSE, NULL);
+ gtk_icon_theme_add_builtin_icon ("process-working", 16, icon);
+ g_object_unref (G_OBJECT (icon));
}
@@ -156,8 +154,8 @@
static void
sq_throbber_init (SQThrobber *throbber)
{
- GTK_WIDGET_SET_FLAGS (throbber, GTK_NO_WINDOW);
- throbber->timer_id = -1;
+ GTK_WIDGET_SET_FLAGS (throbber, GTK_NO_WINDOW);
+ throbber->timer_id = -1;
}
@@ -165,57 +163,57 @@
static void
sq_throbber_dispose (GObject *object)
{
- SQThrobber *throbber = SQ_THROBBER (object);
+ SQThrobber *throbber = SQ_THROBBER (object);
- /* stop any running animation */
- if (G_UNLIKELY (throbber->timer_id >= 0))
- g_source_remove (throbber->timer_id);
+ /* stop any running animation */
+ if (G_UNLIKELY (throbber->timer_id >= 0))
+ g_source_remove (throbber->timer_id);
- (*G_OBJECT_CLASS (sq_throbber_parent_class)->dispose) (object);
+ (*G_OBJECT_CLASS (sq_throbber_parent_class)->dispose) (object);
}
static void
-sq_throbber_get_property (GObject *object,
- guint prop_id,
- GValue *value,
- GParamSpec *pspec)
+sq_throbber_get_property (GObject *object,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *pspec)
{
- SQThrobber *throbber = SQ_THROBBER (object);
+ SQThrobber *throbber = SQ_THROBBER (object);
- switch (prop_id)
- {
- case PROP_ANIMATED:
- g_value_set_boolean (value, sq_throbber_get_animated (throbber));
- break;
+ switch (prop_id)
+ {
+ case PROP_ANIMATED:
+ g_value_set_boolean (value, sq_throbber_get_animated (throbber));
+ break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
- break;
- }
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+ break;
+ }
}
static void
-sq_throbber_set_property (GObject *object,
- guint prop_id,
- const GValue *value,
- GParamSpec *pspec)
+sq_throbber_set_property (GObject *object,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *pspec)
{
- SQThrobber *throbber = SQ_THROBBER (object);
+ SQThrobber *throbber = SQ_THROBBER (object);
- switch (prop_id)
- {
- case PROP_ANIMATED:
- sq_throbber_set_animated (throbber, g_value_get_boolean (value));
- break;
+ switch (prop_id)
+ {
+ case PROP_ANIMATED:
+ sq_throbber_set_animated (throbber, g_value_get_boolean (value));
+ break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
- break;
- }
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+ break;
+ }
}
@@ -223,17 +221,17 @@
static void
sq_throbber_realize (GtkWidget *widget)
{
- SQThrobber *throbber = SQ_THROBBER (widget);
- GtkIconTheme *icon_theme;
+ SQThrobber *throbber = SQ_THROBBER (widget);
+ GtkIconTheme *icon_theme;
- /* let Gtk+ realize the widget */
- (*GTK_WIDGET_CLASS (sq_throbber_parent_class)->realize) (widget);
+ /* let Gtk+ realize the widget */
+ (*GTK_WIDGET_CLASS (sq_throbber_parent_class)->realize) (widget);
- /* determine the icon theme for our screen */
- icon_theme = gtk_icon_theme_get_for_screen (gtk_widget_get_screen (widget));
+ /* determine the icon theme for our screen */
+ icon_theme = gtk_icon_theme_get_for_screen (gtk_widget_get_screen (widget));
- /* try to lookup the "process-working" icon */
- throbber->icon = gtk_icon_theme_load_icon (icon_theme, "process-working", 16, GTK_ICON_LOOKUP_USE_BUILTIN | GTK_ICON_LOOKUP_NO_SVG, NULL);
+ /* try to lookup the "process-working" icon */
+ throbber->icon = gtk_icon_theme_load_icon (icon_theme, "process-working", 16, GTK_ICON_LOOKUP_USE_BUILTIN | GTK_ICON_LOOKUP_NO_SVG, NULL);
}
@@ -241,71 +239,71 @@
static void
sq_throbber_unrealize (GtkWidget *widget)
{
- SQThrobber *throbber = SQ_THROBBER (widget);
+ SQThrobber *throbber = SQ_THROBBER (widget);
- /* release the icon if any */
- if (G_LIKELY (throbber->icon != NULL))
- {
- g_object_unref (G_OBJECT (throbber->icon));
- throbber->icon = NULL;
- }
+ /* release the icon if any */
+ if (G_LIKELY (throbber->icon != NULL))
+ {
+ g_object_unref (G_OBJECT (throbber->icon));
+ throbber->icon = NULL;
+ }
- /* let Gtk+ unrealize the widget */
- (*GTK_WIDGET_CLASS (sq_throbber_parent_class)->unrealize) (widget);
+ /* let Gtk+ unrealize the widget */
+ (*GTK_WIDGET_CLASS (sq_throbber_parent_class)->unrealize) (widget);
}
static void
-sq_throbber_size_request (GtkWidget *widget,
- GtkRequisition *requisition)
+sq_throbber_size_request (GtkWidget *widget,
+ GtkRequisition *requisition)
{
- requisition->width = 16;
- requisition->height = 16;
+ requisition->width = 16;
+ requisition->height = 16;
}
static gboolean
-sq_throbber_expose_event (GtkWidget *widget,
- GdkEventExpose *event)
+sq_throbber_expose_event (GtkWidget *widget,
+ GdkEventExpose *event)
{
- SQThrobber *throbber = SQ_THROBBER (widget);
- gint icon_index;
- gint icon_cols;
- gint icon_rows;
- gint icon_x;
- gint icon_y;
+ SQThrobber *throbber = SQ_THROBBER (widget);
+ gint icon_index;
+ gint icon_cols;
+ gint icon_rows;
+ gint icon_x;
+ gint icon_y;
- /* verify that we have a valid icon */
- if (G_LIKELY (throbber->icon != NULL))
- {
- /* determine the icon columns and icon rows */
- icon_cols = gdk_pixbuf_get_width (throbber->icon) / 16;
- icon_rows = gdk_pixbuf_get_height (throbber->icon) / 16;
+ /* verify that we have a valid icon */
+ if (G_LIKELY (throbber->icon != NULL))
+ {
+ /* determine the icon columns and icon rows */
+ icon_cols = gdk_pixbuf_get_width (throbber->icon) / 16;
+ icon_rows = gdk_pixbuf_get_height (throbber->icon) / 16;
- /* verify that the icon is usable */
- if (G_LIKELY (icon_cols > 0 && icon_rows > 0))
- {
- /* determine the icon index */
- icon_index = throbber->index % (icon_cols * icon_rows);
+ /* verify that the icon is usable */
+ if (G_LIKELY (icon_cols > 0 && icon_rows > 0))
+ {
+ /* determine the icon index */
+ icon_index = throbber->index % (icon_cols * icon_rows);
- /* make sure, we don't display the "empty state" while animated */
- if (G_LIKELY (throbber->timer_id >= 0))
- icon_index = MAX (icon_index, 1);
+ /* make sure, we don't display the "empty state" while animated */
+ if (G_LIKELY (throbber->timer_id >= 0))
+ icon_index = MAX (icon_index, 1);
- /* determine the icon x/y offset for the icon index */
- icon_x = (icon_index % icon_cols) * 16;
- icon_y = (icon_index / icon_cols) * 16;
+ /* determine the icon x/y offset for the icon index */
+ icon_x = (icon_index % icon_cols) * 16;
+ icon_y = (icon_index / icon_cols) * 16;
- /* render the given part of the icon */
- gdk_draw_pixbuf (event->window, NULL, throbber->icon, icon_x, icon_y,
- widget->allocation.x, widget->allocation.y,
- 16, 16, GDK_RGB_DITHER_NONE, 0, 0);
- }
- }
+ /* render the given part of the icon */
+ gdk_draw_pixbuf (event->window, NULL, throbber->icon, icon_x, icon_y,
+ widget->allocation.x, widget->allocation.y,
+ 16, 16, GDK_RGB_DITHER_NONE, 0, 0);
+ }
+ }
- return TRUE;
+ return TRUE;
}
@@ -313,14 +311,14 @@
static gboolean
sq_throbber_timer (gpointer user_data)
{
- SQThrobber *throbber = SQ_THROBBER (user_data);
+ SQThrobber *throbber = SQ_THROBBER (user_data);
- GDK_THREADS_ENTER ();
- throbber->index += 1;
- gtk_widget_queue_draw (GTK_WIDGET (throbber));
- GDK_THREADS_LEAVE ();
+ GDK_THREADS_ENTER ();
+ throbber->index += 1;
+ gtk_widget_queue_draw (GTK_WIDGET (throbber));
+ GDK_THREADS_LEAVE ();
- return throbber->animated;
+ return throbber->animated;
}
@@ -328,8 +326,8 @@
static void
sq_throbber_timer_destroy (gpointer user_data)
{
- SQ_THROBBER (user_data)->index = 0;
- SQ_THROBBER (user_data)->timer_id = -1;
+ SQ_THROBBER (user_data)->index = 0;
+ SQ_THROBBER (user_data)->timer_id = -1;
}
@@ -344,7 +342,7 @@
GtkWidget*
sq_throbber_new (void)
{
- return g_object_new (SQ_TYPE_THROBBER, NULL);
+ return g_object_new (SQ_TYPE_THROBBER, NULL);
}
@@ -360,8 +358,8 @@
gboolean
sq_throbber_get_animated (const SQThrobber *throbber)
{
- g_return_val_if_fail (SQ_IS_THROBBER (throbber), FALSE);
- return throbber->animated;
+ g_return_val_if_fail (SQ_IS_THROBBER (throbber), FALSE);
+ return throbber->animated;
}
@@ -375,30 +373,28 @@
**/
void
sq_throbber_set_animated (SQThrobber *throbber,
- gboolean animated)
+ gboolean animated)
{
- g_return_if_fail (SQ_IS_THROBBER (throbber));
+ g_return_if_fail (SQ_IS_THROBBER (throbber));
- /* check if we're already in the requested state */
- if (G_UNLIKELY (throbber->animated == animated))
- return;
+ /* check if we're already in the requested state */
+ if (G_UNLIKELY (throbber->animated == animated))
+ return;
- /* pick up the new state */
- throbber->animated = animated;
+ /* pick up the new state */
+ throbber->animated = animated;
- /* start the timer if animated and not already running */
- if (animated && (throbber->timer_id < 0))
- {
- /* start the animation */
- throbber->timer_id = g_timeout_add_full (G_PRIORITY_LOW, 25, sq_throbber_timer,
- throbber, sq_throbber_timer_destroy);
- }
+ /* start the timer if animated and not already running */
+ if (animated && (throbber->timer_id < 0))
+ {
+ /* start the animation */
+ throbber->timer_id = g_timeout_add_full (G_PRIORITY_LOW, 25, sq_throbber_timer,
+ throbber, sq_throbber_timer_destroy);
+ }
- /* schedule a redraw with the new animation state */
- gtk_widget_queue_draw (GTK_WIDGET (throbber));
+ /* schedule a redraw with the new animation state */
+ gtk_widget_queue_draw (GTK_WIDGET (throbber));
- /* notify listeners */
- g_object_notify (G_OBJECT (throbber), "animated");
+ /* notify listeners */
+ g_object_notify (G_OBJECT (throbber), "animated");
}
-
-
Modified: squeeze/trunk/src/throbber.h
===================================================================
--- squeeze/trunk/src/throbber.h 2007-04-05 17:34:25 UTC (rev 25391)
+++ squeeze/trunk/src/throbber.h 2007-04-05 22:16:17 UTC (rev 25392)
@@ -10,16 +10,16 @@
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc., 59 Temple
- * Place, Suite 330, Boston, MA 02111-1307 USA
+ * Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#ifndef __SQ_THROBBER_H__
-#define __SQ_THROBBER_H__
+#ifndef __SQUEEZE_THROBBER_H__
+#define __SQUEEZE_THROBBER_H__
#include <gtk/gtk.h>
@@ -28,21 +28,21 @@
typedef struct _SQThrobberClass SQThrobberClass;
typedef struct _SQThrobber SQThrobber;
-#define SQ_TYPE_THROBBER (sq_throbber_get_type ())
-#define SQ_THROBBER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SQ_TYPE_THROBBER, SQThrobber))
-#define SQ_THROBBER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SQ_TYPE_THROBBER, SQThrobberClass))
-#define SQ_IS_THROBBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SQ_TYPE_THROBBER))
+#define SQ_TYPE_THROBBER (sq_throbber_get_type ())
+#define SQ_THROBBER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SQ_TYPE_THROBBER, SQThrobber))
+#define SQ_THROBBER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SQ_TYPE_THROBBER, SQThrobberClass))
+#define SQ_IS_THROBBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SQ_TYPE_THROBBER))
#define SQ_IS_THROBBER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SQ_TYPE_THROBBER))
-#define SQ_THROBBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SQ_TYPE_THROBBER, SQThrobberClass))
+#define SQ_THROBBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SQ_TYPE_THROBBER, SQThrobberClass))
-GType sq_throbber_get_type (void) G_GNUC_CONST;
+GType sq_throbber_get_type (void) G_GNUC_CONST;
-GtkWidget *sq_throbber_new (void) G_GNUC_MALLOC;
+GtkWidget *sq_throbber_new (void) G_GNUC_MALLOC;
-gboolean sq_throbber_get_animated (const SQThrobber *throbber);
-void sq_throbber_set_animated (SQThrobber *throbber,
- gboolean animated);
+gboolean sq_throbber_get_animated (const SQThrobber *throbber);
+void sq_throbber_set_animated(SQThrobber *throbber,
+ gboolean animated);
G_END_DECLS;
-#endif /* !__SQ_THROBBER_H__ */
+#endif /* !__SQUEEZE_THROBBER_H__ */
More information about the Xfce4-commits
mailing list