[vino] Use GtkSpinner



commit c2e36b3cfd518fdff96f14ae0924af564537aa21
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Mar 10 22:40:21 2010 +0100

    Use GtkSpinner
    
    Instead own copy of gedit-spinner
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612503

 capplet/Makefile.am        |    1 -
 capplet/gedit-spinner.c    |  989 --------------------------------------------
 capplet/gedit-spinner.h    |   95 -----
 capplet/vino-message-box.c |    6 +-
 configure.in               |    2 +-
 5 files changed, 3 insertions(+), 1090 deletions(-)
---
diff --git a/capplet/Makefile.am b/capplet/Makefile.am
index 066a53d..991ef9c 100644
--- a/capplet/Makefile.am
+++ b/capplet/Makefile.am
@@ -15,7 +15,6 @@ bin_PROGRAMS = vino-preferences
 
 vino_preferences_SOURCES = \
 	vino-preferences.c \
-	gedit-spinner.h gedit-spinner.c \
 	vino-message-box.h vino-message-box.c \
 	sexy-url-label.h sexy-url-label.c \
 	vino-url-webservice.h vino-url-webservice.c \
diff --git a/capplet/vino-message-box.c b/capplet/vino-message-box.c
index 9dfbd2f..b5acaf0 100644
--- a/capplet/vino-message-box.c
+++ b/capplet/vino-message-box.c
@@ -20,7 +20,6 @@
 #include <glib/gi18n.h>
 #include <sexy-url-label.h>
 #include "vino-message-box.h"
-#include "gedit-spinner.h"
 
 struct _VinoMessageBoxPrivate
 {
@@ -197,9 +196,8 @@ vino_message_box_show_image (VinoMessageBox *box)
     }
 
 
-  box->priv->image = gedit_spinner_new ();
-  gedit_spinner_set_size (GEDIT_SPINNER (box->priv->image), GTK_ICON_SIZE_MENU);
-  gedit_spinner_start (GEDIT_SPINNER (box->priv->image));
+  box->priv->image = gtk_spinner_new ();
+  gtk_spinner_start (GTK_SPINNER (box->priv->image));
 
   gtk_box_pack_start (GTK_BOX (box->priv->main_hbox), box->priv->image, FALSE, FALSE, 2);
   gtk_box_reorder_child (GTK_BOX (box->priv->main_hbox), box->priv->image, 0);
diff --git a/configure.in b/configure.in
index 30d8922..649af2c 100644
--- a/configure.in
+++ b/configure.in
@@ -42,7 +42,7 @@ if test "x$enable_deprecations" = "xyes"; then
    AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
 fi
 
-GTK_VERSION=2.16.0
+GTK_VERSION=2.20.0
 GLIB_VERSION=2.17.0
 DBUS_VERSION=1.2.3
 SOUP_VERSION=2.24.0



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]