Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8376435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:25:52+00:00 2026-06-09T15:25:52+00:00

As the title says my problem is that I try to use both gtk

  • 0

As the title says my problem is that I try to use both gtk 3 and webkit 1.

I am following this example https://live.gnome.org/Vala/WebKitSample

except that I am using gtk 3 instead of 2.

I am using valac 0.16.0

I have now noticed that errors are Gdk 2 and Gdk 3 same symbols.

This seems like a way to solve my problems link
but it is nonstandard.

Nevermind, I have fixed it with a bundled webkitgtk.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T15:25:54+00:00Added an answer on June 9, 2026 at 3:25 pm

    You cannot use library webkit-1.0 with gtk+-3.0, because webkit-1.0 depends on gtk+-2.0 and gdk-2.0 that conflict with gtk+-3.0 and gdk-3.0. You have to use library webkitgtk-3.0 that has same API as webkit-1.0, but depends on gtk+-3.0 and gdk-3.0.

    Since webkigtk-3.0 bindings are not shipped with Vala (bug 676249), you have to create your own bindings (follow instructions in the mentioned e-mail) and tell valac where your webkigtk-3.0.vapi file is located (--vapidir=.).

    $ ls
    webkitgtk-3.0.deps  webkitgtk-3.0.vapi  webkit-sample.vala
    $ valac --vapidir=. --pkg gtk+-3.0 --pkg webkitgtk-3.0 --thread webkit-sample.vala
    /tmp/fenryxo/webkit-sample.vala.c: In function ‘vala_browser_create_widgets’:
    /tmp/fenryxo/webkit-sample.vala.c:206:2: warning: ‘gtk_vbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:60): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
    $ ls
    webkitgtk-3.0.deps  webkitgtk-3.0.vapi  webkit-sample  webkit-sample.vala
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

as already the title of my question says I have the problem that the
As the title says, my problem is that I don't know If/How I can
I think the title says most of my problem. I am new to C
as the title says I'm having the problem with content getting hidden while scrolling/dragging
I'm using JAAS to secure my web-application. As the title says, the problem is
As title says, i know that new throws an exception which can be caught,
As the title says, I have a problem with binding to a change in
Exactly what my title says is the problem Im having right now. Im checking
hey guys, like the title says, how can i accomplish this sort of a
As my title says, I have a set property crash problem. Here's the scenario:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.