aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-fullscreen-popup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-fullscreen-popup.c')
-rw-r--r--src/ephy-fullscreen-popup.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/ephy-fullscreen-popup.c b/src/ephy-fullscreen-popup.c
index af1024928..4ed7a8247 100644
--- a/src/ephy-fullscreen-popup.c
+++ b/src/ephy-fullscreen-popup.c
@@ -21,7 +21,6 @@
#include "config.h"
#include "ephy-fullscreen-popup.h"
-#include "ephy-spinner.h"
#include "ephy-debug.h"
#include <glib/gi18n.h>
@@ -34,7 +33,7 @@ struct _EphyFullscreenPopupPrivate
{
EphyWindow *window;
GtkWidget *frame;
- EphySpinner *spinner;
+ GtkWidget *spinner;
GtkWidget *lock;
GtkWidget *lock_ebox;
GtkWidget *button;
@@ -104,11 +103,12 @@ ephy_fullscreen_popup_update_spinner (EphyFullscreenPopup *popup)
if (priv->spinning && gtk_widget_get_visible (GTK_WIDGET (popup)))
{
- ephy_spinner_start (priv->spinner);
+ gtk_spinner_start (GTK_SPINNER (priv->spinner));
}
else
{
- ephy_spinner_stop (priv->spinner);
+ gtk_spinner_stop (GTK_SPINNER (priv->spinner));
+ gtk_spinner_reset (GTK_SPINNER (priv->spinner));
}
}
@@ -245,8 +245,7 @@ ephy_fullscreen_popup_constructor (GType type,
gtk_widget_show (frame_hbox);
/* add spinner */
- priv->spinner = EPHY_SPINNER (ephy_spinner_new ());
- ephy_spinner_set_size (EPHY_SPINNER (priv->spinner), GTK_ICON_SIZE_BUTTON);
+ priv->spinner = gtk_spinner_new ();
gtk_box_pack_start (GTK_BOX (frame_hbox), GTK_WIDGET (priv->spinner), FALSE, FALSE, 0);
/* lock */