! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
prepare for gtk3
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Mousepad
Component:
General

Comments

Description Mark Trompell 2012-04-24 10:56:10 CEST
Created attachment 4357 
removes deprecated symbols in preparation for gtk3

patches on matt/gtksourceview branch almost build with
CFLAGS+="-DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE"

What still needs to be done is removing im_context from mousepad-view.c
move to GDK_KEY_foo
make mousepad-view use draw instead of expose_event
and some minor tweaks.
Comment 1 Mark Trompell 2012-04-24 10:57:16 CEST
Created attachment 4358 
don't access dialog vbox directly
Comment 2 Mark Trompell 2012-04-24 10:58:03 CEST
Created attachment 4359 
don't access private members
Comment 3 Mark Trompell 2012-04-24 10:58:50 CEST
Created attachment 4360 
no GTK_DIALOG_NO_SEPARATOR in gtk3
Comment 4 Matthew Brush editbugs 2014-07-19 22:09:28 CEST
I finally got around to finishing GTK3 support in master branch. It's not perfect, for example, it loses the vertical selection feature due to the use of the internal `im_context` field in GtkTextView as mentioned, but overall it's been working well.
Comment 5 Matthew Brush editbugs 2014-07-19 22:11:36 CEST
BTW if anyone that can understand the vertical selection code in mousepad-view.c wants to make it work with GTK3, patches are definitively welcome. Then we can take out the `HAVE_MULTISELECT` macro that I guarded all this code out for GTK3 with.

Bug #8772

Reported by:
Mark Trompell
Reported on: 2012-04-24
Last modified on: 2014-07-19

People

Assignee:
Matthew Brush
CC List:
2 users

Version

Version:
Unspecified
Target Milestone:
Mousepad 0.2.x

Attachments

removes deprecated symbols in preparation for gtk3 (5.16 KB, application/octet-stream)
2012-04-24 10:56 CEST , Mark Trompell
no flags
don't access dialog vbox directly (2.48 KB, patch)
2012-04-24 10:57 CEST , Mark Trompell
no flags
don't access private members (5.09 KB, patch)
2012-04-24 10:58 CEST , Mark Trompell
no flags
no GTK_DIALOG_NO_SEPARATOR in gtk3 (1.59 KB, patch)
2012-04-24 10:58 CEST , Mark Trompell
no flags

Additional information