typo in gtkselection.[hc] ?

In gtkselection.h:

typedef struct _GtkSelectionData GtkSelectioData;
                                            ^-------- where's the 'n'?

Then in gtkselection.c a (GtkSelectioData *) is returned:

gtk_selection_data_copy (GtkSelectionData *data)
  GtkSelectionData *new_data;

Everything else uses GtkSelectionData.
Looks like you get away with it because gtkselection.h
includes gtkwidget.h which has:

typedef struct _GtkSelectionData GtkSelectionData;

Is it just a typo?

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]