Re: Using GdkPixbuf buffers with GraphicsMagick

2009-01-07 Thread jcupitt
2009/1/7 Luka Napotnik luka.napot...@gmail.com:
 I've converted the buffer to an RGBA array with 16-bits per channel. But
 loading the blob still fails. Any other ideas?

We can't tell you what's wrong if you don't show any code. You need to
post a tiny (but complete) test program. It'll only take you 30
minutes to write something to load a Pixbuf, unpack to libMagick
format, filter, repack to Pixbuf and save again.

John
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Using GdkPixbuf buffers with GraphicsMagick

2009-01-07 Thread jcupitt
Hi again,

2009/1/7 Luka Napotnik luka.napot...@gmail.com:
 Here's a sample code that fails:

I had a look at the docs and  MagickReadImageBlob() probably isn't the
right bit of API. It expects the data to be in a contaner format, such
as PNG or JPEG.

ConstituteImage() is probably better:

  http://imagemagick.org/api/constitute.php

It might even do the unpack for you, with a bit of poking.

John
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


re: gtk_main_iteration() exits app first time through

2009-01-07 Thread Garth's KidStuff
Hey All,

It was my app bug.  We'd added a new polling loop activated by a timer but
during the gtk_main_iteration the program state wasn't correct for the new
code.  No worries!

-- 
Garth Upshaw
Garth's KidStuff
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Toolbar text makes toolbar very, very wide

2009-01-07 Thread Garth's KidStuff
Hey All,

When I turn on toolbar button labels Text Below Items (System  Preference 
Appearance  Interface), the toolbar gets much, much wider than it seems it
should.  There's lots of wasted space and it makes the toolbar for the app
I'm working on almost useless on smaller screens.

Does anyone have ideas for how to make the text use space more efficiently?

Thanks in advance.

-Garth

-- 
Garth Upshaw
Garth's KidStuff
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Toolbar text makes toolbar very, very wide

2009-01-07 Thread Pavel A. da Mek
When I turn on toolbar button labels Text Below Items (System  
Preference 
Appearance  Interface), the toolbar gets much, much wider than it 
seems it
should.  There's lots of wasted space and it makes the toolbar for the 
app

I'm working on almost useless on smaller screens.

Does anyone have ideas for how to make the text use space more 
efficiently?


There's lots of wasted space if the items are homogeneous (which is
their default state), so I recommend

gtk_tool_item_set_homogeneous (GTK_TOOL_ITEM(tool_item), FALSE);

 P.A.

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Using GdkPixbuf buffers with GraphicsMagick

2009-01-07 Thread Larry Reaves
On Wed, 2009-01-07 at 14:34 +, jcup...@gmail.com wrote:
 Hi again,
 
 2009/1/7 Luka Napotnik luka.napot...@gmail.com:
  Here's a sample code that fails:
 
 I had a look at the docs and  MagickReadImageBlob() probably isn't the
 right bit of API. It expects the data to be in a contaner format, such
 as PNG or JPEG.
 
 ConstituteImage() is probably better:
 
   http://imagemagick.org/api/constitute.php
 
 It might even do the unpack for you, with a bit of poking.
 
 John

Or use gdk_pixbuf_save_to_buffer and pass that to MagickReadImageBlob().

-Larry

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


GTK+ 2.14.7 released

2009-01-07 Thread Matthias Clasen
GTK+ 2.14.7 is now available for download at:

 ftp://ftp.gtk.org/pub/gtk/2.14/
 http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.14/

gtk+-2.14.7.tar.bz2  md5sum: fb1614d4b2adba7b078e2e799b5db604
gtk+-2.14.7.tar.gz   md5sum: be92fe081c6ae92b6d0621b27492434e

This is a bug fix release in the 2.14 series.


What is GTK+


GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, GTK+ is suitable for
projects ranging from small one-off tools to complete application
suites.

GTK+ has been designed from the ground up to support a range of
languages, not only C/C++. Using GTK+ from languages such as Perl and
Python (especially in combination with the Glade GUI builder) provides
an effective method of rapid application development.

GTK+ is free software and part of the GNU Project. However, the
licensing terms for GTK+, the GNU LGPL, allow it to be used by all
developers, including those developing proprietary software, without
any license fees or royalties.


Where to get more information about GTK+


Information about GTK+ including links to documentation can be
found at:

http://www.gtk.org/

An installation guide for GTK+ 2.x is found at:

 http://developer.gnome.org/doc/API/2.0/gtk/gtk-building.html

Common questions:

http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html
http://www.gtk.org/faq/


Overview of Changes from GTK+ 2.14.6 to 2.14.7
==

* Bugs fixed:
 565203 RTL: icons are misplaced when horizontal gtkiconview is ...
 549251 GTK icon view accessible issue
 565846 va_end(args) should be added into gtk_tree_store_new
 558694 Paned window splitter keynav broken

* Updated translations:
 Belarusian Latin (b...@latin)
 Brazilian Portugese (pt_BR)


Thanks to all contributors:
Yair Hershkovitz
Jiwon Lee
Li Yuan
Calum Benson
Steven Sheehy
Tor Lillqvist


January 7, 2009
Matthias Clasen


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


running error

2009-01-07 Thread xu jiang
Hi,

When running a gtk program, the following error occurs.

(g1:1790): GLib-GObject-WARNING **:
/build/buildd/glib2.0-2.16.6/gobject/gsignal.c:1669: signal `contacts_add'
is invalid for instance `0x80befb0'

I will appreciate any hints and suggestion.

Jane
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list