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



commit 8dea9d125b9cd21176aa41d5ab712ab4d8995ade
Author: Bastien Nocera <hadess hadess net>
Date:   Sat May 7 17:46:43 2011 +0100

    printers: Use GTK+ lock button

 panels/printers/cc-printers-panel.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/panels/printers/cc-printers-panel.c b/panels/printers/cc-printers-panel.c
index ab6bf3e..af2f17d 100644
--- a/panels/printers/cc-printers-panel.c
+++ b/panels/printers/cc-printers-panel.c
@@ -32,7 +32,6 @@
 
 #include <math.h>
 
-#include "libgnome-control-center/cc-lockbutton.h"
 #include "pp-new-printer-dialog.h"
 #include "pp-utils.h"
 
@@ -2630,7 +2629,7 @@ cc_printers_panel_init (CcPrintersPanel *self)
     "org.opensuse.cupspkhelper.mechanism.all-edit", NULL, NULL, NULL);
   if (priv->permission != NULL)
     {
-      widget = cc_lock_button_new (priv->permission);
+      widget = gtk_lock_button_new (priv->permission);
       gtk_widget_set_margin_top (widget, 12);
       gtk_widget_show (widget);
       box = (GtkWidget*) gtk_builder_get_object (priv->builder, "main-vbox");



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