Re: What gives us the macro GSEAL()?
- From: Grzegorz Kuczyński <gk180984 interia pl>
- To: gtk-devel-list gnome org
- Subject: Re: What gives us the macro GSEAL()?
- Date: Sun, 12 Apr 2009 19:44:36 +0200
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; //??
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
----------------------------------------------------------------------
Wirtualne zyczenia wielkanocne? Sprawdz!
Kliknij >>> http://link.interia.pl/f2118
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]