Re: gobject inheritance for GtkWindow



El jue, 11-10-2007 a las 15:05 +0200, Sergio Perticone escribi� struct _MyWindow {
> GtkWidget* window;
> GtkWidget* button;
> };

Typically, you wouldn't want to use a pointer to the parent class in the
class definition. Something like

struct _MyWindow {
  GtkWidget window;
  GtkWidget* button;
};

should make it.

Claudio

-- 
Claudio Saavedra <csaavedra alumnos utalca cl>




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