compiling gtk-engines under mingw

2007-11-09 Thread Karl Reis
Has anyone been able to successfully compile and create libmist.dll, libclearlooks.dll under windows? Libtool generates warnings saying that the shared libraries for gtk, pango, etc.. are not found. Indeed, there are only static libraries. So, upon compiling gtk-engines successfully

Re: FW: compiling gtk-engines under mingw

2007-11-09 Thread Tor Lillqvist
Has anyone been able to successfully compile and create libmist.dll, libclearlooks.dll under windows? Personally I haven't tried. Libtool generates warnings saying that the shared libraries for gtk, pango, etc.. are not found. Indeed, there are only static libraries. That sounds extremely

Sets the background of a button with a Image

2007-11-09 Thread windflying zhou
Hello, everyone How can I do this(Sets the background of a button with a Image) please? In RC file: I did this: style button { bg_pixmap[NORMAL] = 1.bmp bg_pixmap[SELECTED] = 2.bmp } widget_class *GtkButton* style button But it can't work, then how can I do? Thank you very much!

Re: FW: compiling gtk-engines under mingw

2007-11-09 Thread Daniel Atallah
On Nov 8, 2007 11:51 PM, Karl Reis [EMAIL PROTECTED] wrote: Has anyone been able to successfully compile and create libmist.dll, libclearlooks.dll under windows? Coincidentally, I built the gtk-engines-2-12 branch yesterday, so I know it is possible to do. Libtool generates warnings saying

Re: A little compiler issue

2007-11-09 Thread Alan M. Evans
On Fri, 2007-11-09 at 00:04 +0100, Rafał Mużyło wrote: It's not quite gtk related, but do any of you know how to fix a problem with G_LOCK/G_UNLOCK producing strict aliasing warnings with -O2 ? I'm looking for a real solution, not something to silence warnings, like -fno-strict-aliasing ? It

gtk_ui_manager_get_accel_group reference

2007-11-09 Thread c f
Hi, I'm not sure if the following problem is a bug in gtk or it is a 'feature': Running the following code: GtkUIManager *uiManager = gtk_ui_manager_new(); GtkAccelGroup *accelGroup = gtk_ui_manager_get_accel_group(uiManager); g_object_unref(accelGroup); g_object_unref(uiManager); will result

HICON to GdkPixbuf

2007-11-09 Thread Andrew Smith
Hi I want to load some icons from .dll files on windows and what the win32 API gives me is an HICON. Does anyone have ideas about how to convert such an HICON to a GdkPixbuf? Thanks in advance, Andrew ___ gtk-app-devel-list mailing list

Re: gtk_ui_manager_get_accel_group reference

2007-11-09 Thread Brian J. Tarricone
On Fri, 9 Nov 2007 16:40:18 +0100 c f wrote: Hi, I'm not sure if the following problem is a bug in gtk or it is a 'feature': Running the following code: GtkUIManager *uiManager = gtk_ui_manager_new(); GtkAccelGroup *accelGroup = gtk_ui_manager_get_accel_group(uiManager);

Re: gtk_ui_manager_get_accel_group reference

2007-11-09 Thread Murray Cumming
On Fri, 2007-11-09 at 16:40 +0100, c f wrote: Hi, I'm not sure if the following problem is a bug in gtk or it is a 'feature': Running the following code: GtkUIManager *uiManager = gtk_ui_manager_new(); GtkAccelGroup *accelGroup = gtk_ui_manager_get_accel_group(uiManager);

Re: A little compiler issue

2007-11-09 Thread Brian J. Tarricone
On Fri, 09 Nov 2007 07:19:22 -0800 Alan M. Evans wrote: On Fri, 2007-11-09 at 00:04 +0100, Rafał Mużyło wrote: It's not quite gtk related, but do any of you know how to fix a problem with G_LOCK/G_UNLOCK producing strict aliasing warnings with -O2 ? I'm looking for a real solution, not

Re: A little compiler issue

2007-11-09 Thread Rafał Mużyło
On Fri, Nov 09, 2007 at 07:19:22AM -0800, Alan M. Evans wrote: On Fri, 2007-11-09 at 00:04 +0100, Rafał Mużyło wrote: It's not quite gtk related, but do any of you know how to fix a problem with G_LOCK/G_UNLOCK producing strict aliasing warnings with -O2 ? I'm looking for a real solution,

Re: HICON to GdkPixbuf

2007-11-09 Thread Tor Lillqvist
Does anyone have ideas about how to convert such an HICON to a GdkPixbuf? There is code in gdk/win32 to do that, check the function gdk_win32_icon_to_pixbuf_libgtk_only() in gdk/win32/gdkcursor-win32.c in GTK+. This is an internal function so you aren't supposed to call it. But as it is in

RE: FW: compiling gtk-engines under mingw

2007-11-09 Thread Karl Reis
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tor Lillqvist Sent: Friday, November 09, 2007 0053 AM To: Karl Reis Cc: gtk-app-devel-list@gnome.org Subject: Re: FW: compiling gtk-engines under mingw Has anyone been able to successfully

RE: FW: compiling gtk-engines under mingw

2007-11-09 Thread Karl Reis
-Original Message- From: Daniel Atallah [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 0432 AM To: Karl Reis Cc: gtk-app-devel-list@gnome.org Subject: Re: FW: compiling gtk-engines under mingw On Nov 8, 2007 11:51 PM, Karl Reis [EMAIL PROTECTED] wrote: Has anyone

Re: FW: compiling gtk-engines under mingw

2007-11-09 Thread Tor Lillqvist
*** Warning: linker path does not have real file for library [blabla] (... ditto for all the other missing libraries... ) So, in short, I'm not sure why libtool is not creating the appropriate DLLs or what exactly it is looking for. I can't say either. I know I have occasionally been

Re: RFC: GLib testing framework

2007-11-09 Thread Mikkel Kamstrup Erlandsen
On 09/11/2007, Tim Janik [EMAIL PROTECTED] wrote: On Thu, 8 Nov 2007, Mikkel Kamstrup Erlandsen wrote: On 07/11/2007, Mikkel Kamstrup Erlandsen [EMAIL PROTECTED] wrote: How about token concatenation[1]? i have to use that already for the current implementation, see my recent header:

Re: pango branched, a while ago...

2007-11-09 Thread Vincent Untz
Hi Behdad, Le jeudi 08 novembre 2007, à 19:44 -0500, Behdad Esfahbod a écrit : Hi, Ok, I forgot to send this earlier, but anyway. A few weeks ago Pango was branched for 1.18 retroactively. The stable branch is called pango-1-18. Please update. What's the plan for GNOME 2.22? Use Pango

Re: RFC: GLib testing framework

2007-11-09 Thread muppet
On Nov 9, 2007, at 4:16 AM, Mikkel Kamstrup Erlandsen wrote: That is certainly another possibility. However a design goal of my code was to only expose one public symbol per simple type and let the rest of the public methods be implemented in macros wrapping these symbols. I am not

Re: pango branched, a while ago...

2007-11-09 Thread Behdad Esfahbod
On Fri, 2007-11-09 at 04:49 -0500, Vincent Untz wrote: Hi Behdad, Le jeudi 08 novembre 2007, à 19:44 -0500, Behdad Esfahbod a écrit : Hi, Ok, I forgot to send this earlier, but anyway. A few weeks ago Pango was branched for 1.18 retroactively. The stable branch is called

Re: Merging gio into glib

2007-11-09 Thread Behdad Esfahbod
On Thu, 2007-11-08 at 18:45 +0100, Alexander Larsson wrote: On Wed, 2007-11-07 at 16:31 -0500, Behdad Esfahbod wrote: On Wed, 2007-11-07 at 21:46 +0100, Alexander Larsson wrote: This leads me to belive it should be possible to create a configure option for glib such that libglib,

Howto wrap a cairo-context to a GdkDrawable

2007-11-09 Thread Clemens Eisserer
Hello, I played a bit with Java's GTK-LookAndFeel and what they do for now seems to be quite sad. Their problem is that they need to get alpha-values, therefor they paint it twice and compare the results. The procedure looks like this: 1.) Create two pixmaps, fill one white, one black 2.) paint

Re: branching GLib-2.15 and Gtk+-2.13

2007-11-09 Thread Claude Paroz
Le jeudi 08 novembre 2007 à 09:58 +0100, Frederic Crozat a écrit : Le mardi 02 octobre 2007 à 21:44 +0200, Mathias Hasselmann a écrit : Am Dienstag, den 02.10.2007, 20:13 +0200 schrieb Tim Janik: there have been some pings recently on API changing bugs in bugzilla, and i've heared about