Skip to content

Building from source is failing on ubuntu 15.04 #21

@olymk2

Description

@olymk2

sounds like a change in gtk api perhaps ?

geanypy-uiutils.c: In function 'UiUtils_combo_box_add_to_history':
geanypy-uiutils.c:126:26: error: 'GTK_TYPE_COMBO_BOX_ENTRY' undeclared (first use in this function)
   GOB_TYPE_CHECK(widget, GTK_TYPE_COMBO_BOX_ENTRY, 1);
                          ^
geanypy-uiutils.c:17:44: note: in definition of macro 'GOB_TYPE_CHECK'
    !g_type_is_a(G_TYPE_FROM_INSTANCE(gob), gob_type)) \
                                            ^
geanypy-uiutils.c:126:26: note: each undeclared identifier is reported only once for each function it appears in
   GOB_TYPE_CHECK(widget, GTK_TYPE_COMBO_BOX_ENTRY, 1);
                          ^
geanypy-uiutils.c:17:44: note: in definition of macro 'GOB_TYPE_CHECK'
    !g_type_is_a(G_TYPE_FROM_INSTANCE(gob), gob_type)) \
                                            ^
geanypy-uiutils.c:127:31: warning: passing argument 1 of 'ui_combo_box_add_to_history' makes pointer from integer without a cast
   ui_combo_box_add_to_history(GTK_COMBO_BOX_ENTRY(widget), text, hist_len);
                               ^
In file included from /usr/local/include/geany/geanyplugin.h:61:0,
                 from geanypy.h:94,
                 from geanypy-uiutils.c:1:
/usr/local/include/geany/ui_utils.h:137:6: note: expected 'struct GtkComboBoxText *' but argument is of type 'int'
 void ui_combo_box_add_to_history(GtkComboBoxText *combo_entry,
      ^
Makefile:681: recipe for target 'geanypy_la-geanypy-uiutils.lo' failed
make[2]: *** [geanypy_la-geanypy-uiutils.lo] Error 1
make[2]: Leaving directory '/opt/geany/geanypy/src'
Makefile:379: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/opt/geany/geanypy/src'
Makefile:389: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions