Commit fa4e81a6 authored by Andre Klapper's avatar Andre Klapper 💬
Browse files

Compile with -DGSEAL_ENABLE. See bug 615477.

parent 395a2420
......@@ -566,7 +566,7 @@ void Box_Data_Calendar_Related::on_calendar_button_press_event(GdkEventButton *e
#endif
GdkModifierType mods;
gdk_window_get_pointer( Gtk::Widget::gobj()->window, 0, 0, &mods );
gdk_window_get_pointer( gtk_widget_get_window(Gtk::Widget::gobj()), 0, 0, &mods );
if(mods & GDK_BUTTON3_MASK)
{
//Give user choices of actions on this item:
......
......@@ -86,7 +86,7 @@ bool ButtonGlom::on_button_press_event(GdkEventButton *event)
if(pApp && pApp->get_userlevel() == AppState::USERLEVEL_DEVELOPER)
{
GdkModifierType mods;
gdk_window_get_pointer( Gtk::Widget::gobj()->window, 0, 0, &mods );
gdk_window_get_pointer( gtk_widget_get_window (Gtk::Widget::gobj()), 0, 0, &mods );
if(mods & GDK_BUTTON3_MASK)
{
//Give user choices of actions on this item:
......
......@@ -71,7 +71,7 @@ bool CheckButton::on_button_press_event(GdkEventButton *event)
if(pApp->get_userlevel() == AppState::USERLEVEL_DEVELOPER)
{
GdkModifierType mods;
gdk_window_get_pointer( Gtk::Widget::gobj()->window, 0, 0, &mods );
gdk_window_get_pointer( gtk_widget_get_window (Gtk::Widget::gobj()), 0, 0, &mods );
if(mods & GDK_BUTTON3_MASK)
{
//Give user choices of actions on this item:
......
......@@ -259,7 +259,7 @@ g_warning("ComboGlom::on_button_press_event()");
if(pApp->get_userlevel() == AppState::USERLEVEL_DEVELOPER)
{
GdkModifierType mods;
gdk_window_get_pointer( Gtk::Widget::gobj()->window, 0, 0, &mods );
gdk_window_get_pointer( gtk_widget_get_window (Gtk::Widget::gobj()), 0, 0, &mods );
if(mods & GDK_BUTTON3_MASK)
{
//Give user choices of actions on this item:
......
......@@ -259,7 +259,7 @@ void ComboAsRadioButtons::show_context_menu(GdkEventButton *event)
if(pApp->get_userlevel() == AppState::USERLEVEL_DEVELOPER)
{
GdkModifierType mods;
gdk_window_get_pointer( Gtk::Widget::gobj()->window, 0, 0, &mods );
gdk_window_get_pointer( gtk_widget_get_window (Gtk::Widget::gobj()), 0, 0, &mods );
if(mods & GDK_BUTTON3_MASK)
{
//Give user choices of actions on this item:
......
......@@ -322,7 +322,7 @@ bool ComboEntry::on_entry_button_press_event(GdkEventButton *event)
if(pApp->get_userlevel() == AppState::USERLEVEL_DEVELOPER)
{
GdkModifierType mods;
gdk_window_get_pointer( Gtk::Widget::gobj()->window, 0, 0, &mods );
gdk_window_get_pointer( gtk_widget_get_window (Gtk::Widget::gobj()), 0, 0, &mods );
if(mods & GDK_BUTTON3_MASK)
{
//Give user choices of actions on this item:
......
......@@ -470,7 +470,7 @@ bool DataWidget::on_button_press_event(GdkEventButton *event)
if(pApp->get_userlevel() == AppState::USERLEVEL_DEVELOPER)
{
GdkModifierType mods;
gdk_window_get_pointer( Gtk::Widget::gobj()->window, 0, 0, &mods );
gdk_window_get_pointer( gtk_widget_get_window (Gtk::Widget::gobj()), 0, 0, &mods );
if(mods & GDK_BUTTON3_MASK)
{
//Give user choices of actions on this item:
......
......@@ -229,7 +229,7 @@ bool Entry::on_button_press_event(GdkEventButton *event)
if(pApp->get_userlevel() == AppState::USERLEVEL_DEVELOPER)
{
GdkModifierType mods;
gdk_window_get_pointer( Gtk::Widget::gobj()->window, 0, 0, &mods );
gdk_window_get_pointer( gtk_widget_get_window (Gtk::Widget::gobj()), 0, 0, &mods );
if(mods & GDK_BUTTON3_MASK)
{
//Give user choices of actions on this item:
......
......@@ -101,7 +101,7 @@ bool Label::on_button_press_event(GdkEventButton *event)
if(pApp && pApp->get_userlevel() == AppState::USERLEVEL_DEVELOPER)
{
GdkModifierType mods;
gdk_window_get_pointer( Gtk::Widget::gobj()->window, 0, 0, &mods );
gdk_window_get_pointer( gtk_widget_get_window (Gtk::Widget::gobj()), 0, 0, &mods );
if(mods & GDK_BUTTON3_MASK)
{
//Give user choices of actions on this item:
......
......@@ -199,7 +199,7 @@ bool TextView::on_button_press_event(GdkEventButton *event)
if(pApp->get_userlevel() == AppState::USERLEVEL_DEVELOPER)
{
GdkModifierType mods;
gdk_window_get_pointer( Gtk::Widget::gobj()->window, 0, 0, &mods );
gdk_window_get_pointer( gtk_widget_get_window (Gtk::Widget::gobj()), 0, 0, &mods );
if(mods & GDK_BUTTON3_MASK)
{
//Give user choices of actions on this item:
......
......@@ -1635,7 +1635,7 @@ bool FlowTableWithFields::on_button_press_event(GdkEventButton *event)
if(pApp && pApp->get_userlevel() == AppState::USERLEVEL_DEVELOPER)
{
GdkModifierType mods;
gdk_window_get_pointer( Gtk::Widget::gobj()->window, 0, 0, &mods );
gdk_window_get_pointer( gtk_widget_get_window (Gtk::Widget::gobj()), 0, 0, &mods );
if(mods & GDK_BUTTON3_MASK)
{
//Give user choices of actions on this item:
......
......@@ -291,7 +291,7 @@ void AddDel::setup_menu()
bool AddDel::on_button_press_event_Popup(GdkEventButton *event)
{
GdkModifierType mods;
gdk_window_get_pointer( Gtk::Widget::gobj()->window, 0, 0, &mods );
gdk_window_get_pointer( gtk_widget_get_window (Gtk::Widget::gobj()), 0, 0, &mods );
if(mods & GDK_BUTTON3_MASK)
{
//Give user choices of actions on this item:
......
......@@ -361,7 +361,7 @@ bool DbAddDel::on_button_press_event_Popup(GdkEventButton *event)
#endif
GdkModifierType mods;
gdk_window_get_pointer( Gtk::Widget::gobj()->window, 0, 0, &mods );
gdk_window_get_pointer( gtk_widget_get_window (Gtk::Widget::gobj()), 0, 0, &mods );
if(mods & GDK_BUTTON3_MASK)
{
//Give user choices of actions on this item:
......
......@@ -88,7 +88,7 @@ void ImageGlom::set_layout_item(const sharedptr<LayoutItem>& layout_item, const
bool ImageGlom::on_button_press_event(GdkEventButton *event)
{
GdkModifierType mods;
gdk_window_get_pointer( Gtk::Widget::gobj()->window, 0, 0, &mods );
gdk_window_get_pointer( gtk_widget_get_window (Gtk::Widget::gobj()), 0, 0, &mods );
//Enable/Disable items.
//We did this earlier, but get_application is more likely to work now:
......
......@@ -150,7 +150,7 @@ bool NotebookLabel::on_button_press_event(GdkEventButton *event)
if(pApp && pApp->get_userlevel() == AppState::USERLEVEL_DEVELOPER)
{
GdkModifierType mods;
gdk_window_get_pointer( Gtk::Widget::gobj()->window, 0, 0, &mods );
gdk_window_get_pointer( gtk_widget_get_window (Gtk::Widget::gobj()), 0, 0, &mods );
if(mods & GDK_BUTTON3_MASK)
{
//Give user choices of actions on this item:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment