Comments (5)
This was accidentally closed. The deprecated calls are mostly:
g_mutex_new();
g_mutex_free(GMutex*);
g_cond_new();
g_cond_free(GCond*);
gdk_pixbuf_unref(GdkPixBuf*);
g_thread_init(gpointer);
from xournalpp.
I think eventually gdk_threads_enter() and gdk_threads_leave() will be deprecated. Therefore I think this enhancement should be labelled "support gtk3+". Not in this milestone but hopefully in the next year :)
from xournalpp.
This has been partially updated through the pull request of x2b. I've put the most cutting edge work in the branch gtk3 - please use that branch if you're going to work on gtk3+ support!
from xournalpp.
I've done some more research into what needs to be done. This list is incomplete and may be updated as we go, but:
- Change gtk+-2.0 to gtk+-3.0 in configure.ac
- Figure out how to get rid of the <gdk/gdktypes.h> header (GTK3 only supports a few headers)
- Migrate from libglade-2.0 to GTKBuilder (libglade3 does not seem to be supported by e.g. Ubuntu 13.10, but it can be used to convert .glade files to GTKBuilder files, the recommended step)
- Change GDK_* keys to GDK_KEY_* (e.g. GDK_Home needs to be updated)
- gdk_drawable has been retired:
src/util/Util.cpp:
gdk_drawable_set_colormap(GDK_DRAWABLE (pixmap),
will need to be updated to a gdk_window call, I think. See https://developer.gnome.org/gtk3/stable/ch24s02.html#id-1.6.3.4.6.
Since this won't be backwards compatible and likely won't compile for a while, I've created a branch gtk3. Please use this branch if you want to experiment!
from xournalpp.
Master is now at GTK3
from xournalpp.
Related Issues (20)
- Stylus second button not working HOT 1
- Missing user interface file HOT 2
- "Toolbar Color Tool Customization" is not working HOT 1
- VSCode-like Hot Exit HOT 1
- Titlebar is still white after setting the dark theme on MacOS HOT 6
- Unable to Annotate PDFs from UNC Paths HOT 2
- Stroke Recognizer makes straight lines different than expected HOT 4
- Keyboard shortcuts not working on Windows HOT 6
- Change wrong path conversions from string to u8string HOT 1
- If opened in split screen , then if its toggled to full screen the app gets stuck and crashes. Scrolling through pages is choppy HOT 13
- Error screen occur when open
- Crashing while saving on USB drive HOT 1
- Not working properly in ubuntu 24.04 lts HOT 4
- Cannot open settings on macOS HOT 9
- Old copy paste bug HOT 4
- Dark theme failed to apply to icons on KDE Plasma (Breeze Dark) HOT 2
- Global search missing in languages other than English on MacOS (regression) HOT 2
- @rolandlo @bhennion, we should add something like this to the CMake scripts, to ensure that everyone uses the installation: HOT 3
- Random Crash HOT 1
- Failing assertion in PortAudio from ~AudioController() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xournalpp.