* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
- * License along with the Gnome Library; see the file COPYING.LIB. 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/>.
*
* Authors: Cosimo Cecchi <cosimoc@redhat.com>
*/
#include <config.h>
#include "gtknumerableicon.h"
+#include "gtknumerableiconprivate.h"
#include "gtkicontheme.h"
#include "gtkintl.h"
#include "gtkwidget.h"
+#include "gtkwidgetpath.h"
#include "gtkwindow.h"
#include <gdk/gdk.h>
struct _GtkNumerableIconPrivate {
gint count;
+ gint icon_size;
+
gchar *label;
GIcon *background_icon;
gchar *background_icon_name;
- gint icon_size;
GdkRGBA *background;
GdkRGBA *foreground;
return NULL;
pixbuf = gtk_icon_info_load_icon (info, NULL);
- gtk_icon_info_free (info);
+ g_object_unref (info);
if (pixbuf == NULL)
return NULL;
*
* Creates a new unthemed #GtkNumerableIcon.
*
- * Returns: a new #GIcon
+ * Returns: (transfer full): a new #GIcon
*
* Since: 3.0
*/
* to the passed #GtkStyleContext. This is a convenience constructor
* that calls gtk_numerable_icon_set_style_context() internally.
*
- * Returns: a new #GIcon
+ * Returns: (transfer full): a new #GIcon
*
* Since: 3.0
*/