denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] error during building: expected ‘struct GtkComboBox


From: Richard Shann
Subject: Re: [Denemo-devel] error during building: expected ‘struct GtkComboBox *’ but argument is of type ‘stru ct GtkComboBoxText
Date: Tue, 23 Apr 2013 15:06:56 +0100

On Mon, 2013-04-22 at 22:14 +0200, Federico Bruni wrote:
> 
> 2013/4/21 Richard Shann <address@hidden>
>         Thanks - I have pushed a fix for this to git.
>         
> 
> error disappeared, thanks
> now make compiles fine, I just have these warnings:
The screenshot code should probably be dropped from GTK3 until someone
wants it enough to test it. It is for capturing images of source
manuscripts which are then drawn under the relevant part of the
transcribed music. This is largely replaced by inserting links to the
original manuscript, so there is no incentive to get this code in shape
for GTK3.

Richard

> 
> 
> screenshot.c: In function ‘select_area_button_press’:
> screenshot.c:229:3: warning: passing argument 1 of
> ‘gdk_event_get_root_coords’ from incompatible pointer type [enabled by
> default]
> In file included from /usr/include/gtk-3.0/gdk/gdkdisplay.h:31:0,
>                  from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
> 
>  from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from /usr/include/gtk-3.0/gtk/gtk.h:30,
>                  from screenshot.c:25:
> /usr/include/gtk-3.0/gdk/gdkevents.h:1196:11: note: expected ‘const
> union GdkEvent *’ but argument is of type ‘struct GdkEventButton *’
> screenshot.c:248:11: warning: ‘gdk_display_warp_pointer’ is deprecated
> (declared at /usr/include/gtk-3.0/gdk/gdkdisplay.h:101): Use
> 'gdk_device_warp' instead [-Wdeprecated-declarations]
> screenshot.c: In function ‘select_area_motion_notify’:
> screenshot.c:261:3: warning: passing argument 1 of
> ‘gdk_event_get_root_coords’ from incompatible pointer type [enabled by
> default]
> In file included from /usr/include/gtk-3.0/gdk/gdkdisplay.h:31:0,
>                  from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
> 
>  from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from /usr/include/gtk-3.0/gtk/gtk.h:30,
>                  from screenshot.c:25:
> /usr/include/gtk-3.0/gdk/gdkevents.h:1196:11: note: expected ‘const
> union GdkEvent *’ but argument is of type ‘struct GdkEventMotion *’
> mv -f .deps/screenshot.Tpo .deps/screenshot.Po
> 
> 
> 
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]