Re: GtkPlacesSidebarClass defined in the .c file



Hi,

Thank you very much. Yes, I didn't realize that that could be the
reason. What about my second question, regarding the open_location
signal?


On Wed, 2013-09-04 at 22:50 +0100, Emmanuele Bassi wrote:
hi;

On 4 September 2013 21:08, Juan Rafael García Blanco <juanrgar gmail com> wrote:

I'm new to Gtk+ and OSS development. I'm wrapping GtkPlacesSidebar in
gtkmm. I've found that the GtkPlacesSidebarClass structure is defined in
the .c file, and it contains virtual functions. This has bad
implications in gtkmm, as those function pointers need to be exposed. I
think it's not general practice to put the *Class structure in the .c
file; should I file a bug on this? I can easily provide a patch for
this.

it's the recommended practice to hide the instance and structure
classes in the source file if the class is 'final', i.e. it's not
supposed to be subclassed.

ciao,
 Emmanuele.





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