diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-10-18 04:32:46 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-10-18 04:32:46 +0800 |
commit | 03d63a3c1d4522010a58e61aff6aad83d28a7db4 (patch) | |
tree | e354364730ed010c7dd7667cadb0be6c66fc2e78 /lib/widgets/ephy-spinner.h | |
parent | 954a2a7825f65bcb401e28379c553450758c6f62 (diff) | |
download | gsoc2013-epiphany-03d63a3c1d4522010a58e61aff6aad83d28a7db4.tar gsoc2013-epiphany-03d63a3c1d4522010a58e61aff6aad83d28a7db4.tar.gz gsoc2013-epiphany-03d63a3c1d4522010a58e61aff6aad83d28a7db4.tar.bz2 gsoc2013-epiphany-03d63a3c1d4522010a58e61aff6aad83d28a7db4.tar.lz gsoc2013-epiphany-03d63a3c1d4522010a58e61aff6aad83d28a7db4.tar.xz gsoc2013-epiphany-03d63a3c1d4522010a58e61aff6aad83d28a7db4.tar.zst gsoc2013-epiphany-03d63a3c1d4522010a58e61aff6aad83d28a7db4.zip |
Fix a crash after failing to get the spinner animation or rest icons.
2006-10-17 Christian Persch <chpe@cvs.gnome.org>
* lib/widgets/ephy-spinner.c: (ephy_spinner_images_load),
(ephy_spinner_cache_get_images), (ephy_spinner_get_type),
(ephy_spinner_init), (ephy_spinner_new):
* lib/widgets/ephy-spinner.h:
Fix a crash after failing to get the spinner animation or rest icons.
Derive EphySpinner from GtkWidget not GtkEventBox.
Diffstat (limited to 'lib/widgets/ephy-spinner.h')
-rw-r--r-- | lib/widgets/ephy-spinner.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/widgets/ephy-spinner.h b/lib/widgets/ephy-spinner.h index 433aa8206..5b3fad717 100644 --- a/lib/widgets/ephy-spinner.h +++ b/lib/widgets/ephy-spinner.h @@ -1,8 +1,7 @@ /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* - * Nautilus - * * Copyright © 2000 Eazel, Inc. + * Copyright © 2004, 2006 Christian Persch * * Nautilus is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,15 +19,13 @@ * * Author: Andy Hertzfeld <andy@eazel.com> * - * This is the header file for the throbber on the location bar - * * $Id$ */ #ifndef EPHY_SPINNER_H #define EPHY_SPINNER_H -#include <gtk/gtkeventbox.h> +#include <gtk/gtkwidget.h> #include <gtk/gtkenums.h> G_BEGIN_DECLS @@ -41,12 +38,12 @@ G_BEGIN_DECLS #define EPHY_SPINNER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_SPINNER, EphySpinnerClass)) typedef struct _EphySpinner EphySpinner; -typedef struct _EphySpinnerClass EphySpinnerClass; +typedef struct _EphySpinnerClass EphySpinnerClass; typedef struct _EphySpinnerDetails EphySpinnerDetails; struct _EphySpinner { - GtkEventBox parent; + GtkWidget parent; /*< private >*/ EphySpinnerDetails *details; @@ -54,7 +51,7 @@ struct _EphySpinner struct _EphySpinnerClass { - GtkEventBoxClass parent_class; + GtkWidgetClass parent_class; }; GType ephy_spinner_get_type (void); |