[Glade-users] Mixing glade C code with C++
- From: damon helixcode com (Damon Chaplin)
- Subject: [Glade-users] Mixing glade C code with C++
- Date: Tue, 19 Dec 2000 13:59:10 +0000
Colin Thomas wrote:
gtk_widget_add_accelerator (guiReadLEF, "activate_item", accel_group,
tmp_key, GDK_MOD1_MASK, 0);
I think g++ needs:
gtk_widget_add_accelerator (guiReadLEF, "activate_item", accel_group,
(GtkAccelFlags) tmp_key, GDK_MOD1_MASK, 0);
You could easily fix Glade so it outputs this, if you are willing to recompile
it.
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]