After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 446513 - gtknotebook.h: create_window is wrong declaration
gtknotebook.h: create_window is wrong declaration
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkNotebook
2.11.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-06-11 20:44 UTC by Kazuki Iwamoto
Modified: 2007-06-11 20:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2007-06-11 20:44:14 UTC
Please describe the problem:
At revision 18024, 'create_window' was added to GtkNotebookClass.
'create_window' returns pointer. But, it is declared as structure.

Steps to reproduce:
1.compile gtknotebook.c

Actual results:
An error will occur at gtk_notebook_class_init.

Expected results:
An asterisk should be inserted after 'GtkNotebook'.
For example at line 119 in gtknotebook.h,

  GtkNotebook* (* create_window) (GtkNotebook       *notebook,
                                  GtkWidget         *page,
                                  gint               x,
                                  gint               y);

Does this happen every time?
Revision 18024 or later

Other information:
Comment 1 Emmanuele Bassi (:ebassi) 2007-06-11 20:59:11 UTC
thanks. fixed in trunk.

2007-06-11  Emmanuele Bassi  <ebassi@gnome.org>

        * gtk/gtknotebook.h: Fix declaration of the create_window()
        vfunc inside GtkNotebookClass. (#446513, Kazuki Iwamoto)