]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtklockbutton.h
treeview: properly calculate the treeview expander size
[~andy/gtk] / gtk / gtklockbutton.h
index abc100ed220b8928b61fe0e70e05c0ded1e6cfe5..1d089733b132fe9951d4667b912a76526af3ea35 100644 (file)
  * Library General Public License for more details.
  *
  * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef __GTK_LOCK_BUTTON_H__
 #define __GTK_LOCK_BUTTON_H__
 
-#include <gtk/gtkbin.h>
+#include <gtk/gtkbutton.h>
 #include <gio/gio.h>
 
 G_BEGIN_DECLS
@@ -39,14 +37,14 @@ typedef struct _GtkLockButtonPrivate GtkLockButtonPrivate;
 
 struct _GtkLockButton
 {
-  GtkBin parent;
+  GtkButton parent;
 
   GtkLockButtonPrivate *priv;
 };
 
 struct _GtkLockButtonClass
 {
-  GtkBinClass parent_class;
+  GtkButtonClass parent_class;
 
   void (*reserved0) (void);
   void (*reserved1) (void);
@@ -58,9 +56,13 @@ struct _GtkLockButtonClass
   void (*reserved7) (void);
 };
 
+GDK_AVAILABLE_IN_3_2
 GType        gtk_lock_button_get_type       (void) G_GNUC_CONST;
+GDK_AVAILABLE_IN_3_2
 GtkWidget   *gtk_lock_button_new            (GPermission   *permission);
+GDK_AVAILABLE_IN_3_2
 GPermission *gtk_lock_button_get_permission (GtkLockButton *button);
+GDK_AVAILABLE_IN_3_2
 void         gtk_lock_button_set_permission (GtkLockButton *button,
                                              GPermission   *permission);