Re: What gives us the macro GSEAL()?
- From: "A. Walton" <awalton ubuntu com>
- To: Grzegorz Kuczyński <gk180984 interia pl>
- Cc: gtk-devel-list gnome org
- Subject: Re: What gives us the macro GSEAL()?
- Date: Sun, 12 Apr 2009 19:44:56 -0400
2009/4/12 Grzegorz Kuczyński <gk180984 interia pl>:
> Very thanks Regards.
>
> Ok I understand the idea, but...
> how work it? for example:
> ---------------
> struct _GtkWindow
> {
> GtkBin bin;
>
> gchar *GSEAL (title);
> ---------------
> void
> gtk_window_set_title (GtkWindow *window,
> const gchar *title)
> {
> char *new_title;
>
> g_return_if_fail (GTK_IS_WINDOW (window));
>
> new_title = g_strdup (title);
> g_free (window->title);
> window->title = new_title; //eeee I don't know property title!!!
> ---------------
> So, when define GSEAL_ENABLE code in gtkwindow.c must change in
> window->_g_sealed__title = new_title; //??
gtk_window_set_title().
> Maybe I can read anywhere for idea macros GSEAL?
> I don't want write stupidity in Wikibooks. Because I want write analize for
> struct GtkWindow AND I myself want understand :)
> ---
> Grzegorz Kuczyński
>
-A. Walton.
>
> ----------------------------------------------------------------------
> Wirtualne zyczenia wielkanocne? Sprawdz!
> Kliknij >>> http://link.interia.pl/f2118
>
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]