Re: Strange problem with telepathy gabble and g_cancellable_pop

2011-01-27 Thread Maciej Piechotka
On Wed, 2011-01-26 at 02:30 +, Maciej Piechotka wrote: I'm trying to debug problem with gabble which appeared during last few days but I cannot pinpoint it. telepathy-gabble seems to be unable to connect to jabber server. Accoring to tcpdump no packets are sent. Bus names (per account

Re: Gir XML format

2009-08-30 Thread Maciej Piechotka
On Sun, 2009-08-30 at 15:13 -0400, Colin Walters wrote: On Sat, Aug 29, 2009 at 6:09 PM, Maciej Piechotkauzytkown...@gmail.com wrote: Is there any GIR format specification? I'd like to write some bindings but I don't want rev-eng it. Not at the moment, but you should consider it fairly

Gir XML format

2009-08-29 Thread Maciej Piechotka
Is there any GIR format specification? I'd like to write some bindings but I don't want rev-eng it. Regards signature.asc Description: This is a digitally signed message part ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Re: gtk+ documentation wikified

2009-03-09 Thread Maciej Piechotka
On Wed, 2009-03-04 at 12:03 +0200, Stefan Kost wrote: Maciej Piechotka schrieb: On Fri, 2009-02-20 at 10:37 +, Alberto Ruiz wrote: 2009/2/20 Maciej Piechotka uzytkown...@gmail.com: Eugene Gorodinsky e.gorodin...@gmail.com writes: Hi all Since you guys

Re: gtk+ documentation wikified

2009-02-27 Thread Maciej Piechotka
On Fri, 2009-02-20 at 10:37 +, Alberto Ruiz wrote: 2009/2/20 Maciej Piechotka uzytkown...@gmail.com: Eugene Gorodinsky e.gorodin...@gmail.com writes: Hi all Since you guys are discussing the redesign of the gtk+ website, I'd like to propose an idea that I have. I've seen quite

Re: gtk+ documentation wikified

2009-02-22 Thread Maciej Piechotka
Stefan Kost enso...@hora-obscura.de writes: Eugene, Maciej, I've have some concept for the gtk-doc side of things. For the server side I've ideas too, if you want to join, there is #gtkdoc on gimpnet irc. Lets discuss there. Need to talk to the web-site hackers to come up with the

Re: gtk+ documentation wikified

2009-02-20 Thread Maciej Piechotka
Eugene Gorodinsky e.gorodin...@gmail.com writes: Hi all Since you guys are discussing the redesign of the gtk+ website, I'd like to propose an idea that I have. I've seen quite a lot of comments saying gtk+ documentation isn't as good as qt's. What do you think of having a wiki that

Re: gtk+ documentation wikified

2009-02-20 Thread Maciej Piechotka
Stefan Kost enso...@hora-obscura.de writes: hi, Maciej Piechotka schrieb: Eugene Gorodinsky e.gorodin...@gmail.com writes: Hi all Since you guys are discussing the redesign of the gtk+ website, I'd like to propose an idea that I have. I've seen quite a lot of comments saying gtk

Re: [Announce] GNOME Global Menu 0.7.3 is released.

2009-02-04 Thread Maciej Piechotka
Yu Feng rainwood...@gmail.com writes: Dear friends, We are glad to announce the release of GNOME Global Menu 0.7.3. Global Menu is the globally-shared menu bar of all applications launched in your desktop session. In this release, we bring you the further polished gnome-globalmenu 0.7.3

Re: g_malloc overhead

2009-01-30 Thread Maciej Piechotka
On Mon, 2009-01-26 at 22:30 +0100, Martin (OPENGeoMap) wrote: hi: Well - what do you mean? Having 2 functions - one reciving utf-16 and one utf-8? To be honest - it doesn't make any sense to me (it would create much mess, double the code, make programming errors easier...).

Re: utf-16 and glib (was: g_malloc overhead)

2009-01-30 Thread Maciej Piechotka
On Mon, 2009-01-26 at 22:49 +0100, Martin (OPENGeoMap) wrote: Maciej Piechotka escribió: On Mon, 2009-01-26 at 22:30 +0100, Martin (OPENGeoMap) wrote: hi: Well - what do you mean? Having 2 functions - one reciving utf-16 and one utf-8? To be honest

Re: utf-16 and glib

2009-01-30 Thread Maciej Piechotka
On Mon, 2009-01-26 at 23:01 +0100, Martin (OPENGeoMap) wrote: Maciej Piechotka escribió: On Mon, 2009-01-26 at 22:49 +0100, Martin (OPENGeoMap) wrote: Maciej Piechotka escribió: On Mon, 2009-01-26 at 22:30 +0100, Martin (OPENGeoMap) wrote: hi

Re: utf-16 and glib

2009-01-30 Thread Maciej Piechotka
On Mon, 2009-01-26 at 23:48 +0100, Martin (OPENGeoMap) wrote: Dominic Lachowicz escribió: What is wrong with: gchar* g_utf8_strncpy (gchar *dest,const gchar *src,gsize n); That's one not needed as strncpy should work. hehe i know but that function it really

Re: g_malloc overhead

2009-01-29 Thread Maciej Piechotka
On Mon, 2009-01-26 at 22:30 +0100, Martin (OPENGeoMap) wrote: hi: Well - what do you mean? Having 2 functions - one reciving utf-16 and one utf-8? To be honest - it doesn't make any sense to me (it would create much mess, double the code, make programming errors easier...).

Re: utf-16 and glib (was: g_malloc overhead)

2009-01-29 Thread Maciej Piechotka
On Mon, 2009-01-26 at 22:49 +0100, Martin (OPENGeoMap) wrote: Maciej Piechotka escribió: On Mon, 2009-01-26 at 22:30 +0100, Martin (OPENGeoMap) wrote: hi: Well - what do you mean? Having 2 functions - one reciving utf-16 and one utf-8? To be honest

Re: utf-16 and glib

2009-01-29 Thread Maciej Piechotka
On Mon, 2009-01-26 at 23:01 +0100, Martin (OPENGeoMap) wrote: Maciej Piechotka escribió: On Mon, 2009-01-26 at 22:49 +0100, Martin (OPENGeoMap) wrote: Maciej Piechotka escribió: On Mon, 2009-01-26 at 22:30 +0100, Martin (OPENGeoMap) wrote: hi

Re: utf-16 and glib

2009-01-29 Thread Maciej Piechotka
On Mon, 2009-01-26 at 23:48 +0100, Martin (OPENGeoMap) wrote: Dominic Lachowicz escribió: What is wrong with: gchar* g_utf8_strncpy (gchar *dest,const gchar *src,gsize n); That's one not needed as strncpy should work. hehe i know but that function it really

Re: g_malloc overhead

2009-01-26 Thread Maciej Piechotka
Martín Vales mar...@opengeomap.org writes: Colin Walters escribió: On Mon, Jan 26, 2009 at 9:12 AM, Behdad Esfahbod beh...@behdad.org wrote: Lets just say that UTF-16 is at best implementation details of Firefox. Well, JavaScript is notably UTF-16. Given that the Web, Java and

Re: g_malloc overhead

2009-01-26 Thread Maciej Piechotka
Martín Vales mar...@opengeomap.org writes: Colin Walters escribió: On Mon, Jan 26, 2009 at 9:12 AM, Behdad Esfahbod beh...@behdad.org wrote: Lets just say that UTF-16 is at best implementation details of Firefox. Well, JavaScript is notably UTF-16. Given that the Web, Java and

Re: g_malloc overhead

2009-01-22 Thread Maciej Piechotka
Martín Vales mar...@opengeomap.org writes: hi: I working with visual c++ in Windows and i find glib very useful for many C task, but i am worry about the g_malloc overhead. We really need a new malloc?? gpointer g_malloc (gsize n_bytes) { if (G_UNLIKELY (!g_mem_initialized))

Re: g_malloc overhead

2009-01-22 Thread Maciej Piechotka
Martín Vales mar...@opengeomap.org writes: hi: I working with visual c++ in Windows and i find glib very useful for many C task, but i am worry about the g_malloc overhead. We really need a new malloc?? gpointer g_malloc (gsize n_bytes) { if (G_UNLIKELY (!g_mem_initialized))

Running -Wall -Werror on glib

2008-12-29 Thread Maciej Piechotka
: Maciej Piechotka uzytkown...@gmail.com Date: Mon, 29 Dec 2008 17:23:48 +0100 Subject: [PATCH] Fixed some -Wextra and -Wall warrings --- gio/gdesktopappinfo.c|2 +- gio/gemblem.c|1 - gio/gemblemedicon.c |1 - gio/xdgmime/xdgmime.c

[GDK] Unique GdkDrawable - on and off screen

2008-01-15 Thread Maciej Piechotka
I try to write my own widget. However I need to have access to internals of gdk. I am afraid that I am not fully understend it so I would like to have few question about GDK and GTK+. 1. I would like to ask is it possible to create a separate object which I could attach/detach from widget and

Problem with GValue

2006-02-17 Thread Maciej Piechotka
I'd like to destroy GValue. How should I do it? I cannot find any information about it. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Differences beetwen ref and weak ref

2006-01-18 Thread Maciej Piechotka
2006/1/18, Stefan Kost [EMAIL PROTECTED]: Hi, Uzytkownik wrote: I'm so sorry - when should I use weak reference? I use waek references in the class collaboration hierarchy. Imagine classes GGroup and GItem, where GGroup has GItems. GItem instances need access to GGroup, thus they have a

Unicode, dirs and problem.

2005-12-20 Thread Maciej Piechotka
1. I don't know how should be this function(Function is more complicated, bun not so much to use regexs): static gunichar *package_rel_path(const gunichar *package) G_GNU_MALLOC { gunichar *ret; gsize iter; ret = /* what here? */; if(!package) return NULL;

Re: How I can add some properties to object without touching it

2005-12-20 Thread Maciej Piechotka
05-12-20, Przemysław Staniszewski [EMAIL PROTECTED] napisał(a): Hello. I wonder about something like in topic. I have dia-canvas-box.c, but I want to add one more properties like gchar *name. I want to make gobject child of dia-canvas-box but i don't know how :( . My konwledge is poor so i

Re: Problem with glib-mkenums

2005-12-19 Thread Maciej Piechotka
2005/12/19, David Necas (Yeti) [EMAIL PROTECTED]: On Mon, Dec 19, 2005 at 08:59:26AM +0100, Maciej Piechotka wrote: Ok. In makefile it's more clear. But what's $(enum_headers)? Headers that contain the enum declarations you want to process with glib-mkenums. Yeti Thanks a lot

G_GNUC_... - MALLOC, PURE or both

2005-12-19 Thread Maciej Piechotka
I've an function which takes one argument(object) and return some string(gchar *). Becouse it's getting read-only propertis[1]) it shouldn't be the same as in object. Should I: - Always allocate new gchar * and mark it as gchar *object_get(const Object *) G_GNUC_MALLOC; - Keep gchar * inside and

Problem with glib-mkenums

2005-12-18 Thread Maciej Piechotka
I'd like to use glib-mkenums. I've tried to use it, but I have no idea how to use it. Could somebody give me an example of file and what should by in command line. If some example is in GNOME CVS please give me in which project(but I'll be happy if you give me an information which file) I'll find

Re: Problem with glib-mkenums

2005-12-18 Thread Maciej Piechotka
2005/12/18, David Necas (Yeti) [EMAIL PROTECTED]: On Sun, Dec 18, 2005 at 12:40:46PM +0100, Maciej Piechotka wrote: I'd like to use glib-mkenums. I've tried to use it, but I have no idea how to use it. Could somebody give me an example of file and what should by in command line