[gnome-control-center] datetime: Use GTK+ lock button



commit b28923cc903fa966e5b64fa74ceedad7efe10eee
Author: Bastien Nocera <hadess hadess net>
Date:   Sat May 7 17:46:55 2011 +0100

    datetime: Use GTK+ lock button

 panels/datetime/cc-datetime-panel.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/panels/datetime/cc-datetime-panel.c b/panels/datetime/cc-datetime-panel.c
index dc25048..d017237 100644
--- a/panels/datetime/cc-datetime-panel.c
+++ b/panels/datetime/cc-datetime-panel.c
@@ -24,7 +24,6 @@
 #include <sys/time.h>
 #include "cc-timezone-map.h"
 #include "set-timezone.h"
-#include "libgnome-control-center/cc-lockbutton.h"
 #include "date-endian.h"
 
 #include <gdesktop-enums.h>
@@ -938,8 +937,8 @@ cc_date_time_panel_init (CcDateTimePanel *self)
       return;
     }
 
-  /* DtLockButton takes ownership of the permission */
-  lockbutton = cc_lock_button_new (permission);
+  /* GtkLockButton takes ownership of the permission */
+  lockbutton = gtk_lock_button_new (permission);
   gtk_widget_set_margin_top (lockbutton, 12);
   gtk_widget_show (lockbutton);
   gtk_box_pack_end ((GtkBox *) gtk_builder_get_object (priv->builder, "hbox"),



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