Branch data Line data Source code
1 : : /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- 2 : : * 3 : : * Copyright © 2015 Red Hat, Inc. 4 : : * 5 : : * This program is free software; you can redistribute it and/or modify 6 : : * it under the terms of the GNU General Public License as published by 7 : : * the Free Software Foundation; either version 2 of the License, or 8 : : * (at your option) any later version. 9 : : * 10 : : * This program is distributed in the hope that it will be useful, 11 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 : : * GNU General Public License for more details. 14 : : * 15 : : * You should have received a copy of the GNU General Public License 16 : : * along with this program; if not, see <http://www.gnu.org/licenses/>. 17 : : * 18 : : * Authors: 19 : : * - Ondrej Holy <oholy@redhat.com> 20 : : */ 21 : : 22 : : #pragma once 23 : : 24 : : #include <gtk/gtk.h> 25 : : #include <act/act.h> 26 : : 27 : : 28 : : G_BEGIN_DECLS 29 : : 30 : : #define MCT_TYPE_USER_IMAGE (mct_user_image_get_type ()) 31 : 0 : G_DECLARE_FINAL_TYPE (MctUserImage, mct_user_image, MCT, USER_IMAGE, GtkImage) 32 : : 33 : : GtkWidget *mct_user_image_new (void); 34 : : void mct_user_image_set_user (MctUserImage *image, 35 : : ActUser *user); 36 : : 37 : : G_END_DECLS