Matthias Clasen
f59f355190
Use gtk_window_set_child throughout
...
Replace all uses of gtk_container_add on windows
by gtk_window_set_child.
2020-05-04 22:53:08 -04:00
Matthias Clasen
67759d4c3e
Use gtk_scrolled_window_set_child throughout
...
Replace all uses of gtk_container_add on popovers
by gtk_scrolled_window_set_child.
2020-05-04 22:53:07 -04:00
Timm Bäder
0e8850bf84
examples: Add common_cflags to build
...
And fix all the warnings and errors generated by doing so.
See #2491
2020-03-06 16:36:42 +01:00
Benjamin Otte
f53848c360
textview: Redo clipboard handling
...
Instead of using GtkClipboard and handling everything ourselves, we now
put GtkTextBuffer into the GdkClipboard and register (de)serializers for
text/plain.
2017-12-03 05:46:48 +01:00
Benjamin Otte
a59572f96d
widget: gtk_widget_get_clipboard => gtk_widget_get_old_clipboard
...
Just rename the function, so the previous one can be used for the
new clipboard.
2017-12-03 05:46:47 +01:00
Benjamin Otte
9151e0b9f5
stylecontext: Port to use display instead of screen
2017-10-31 03:05:54 +01:00
Timm Bäder
ea897c6df4
Remove gtk_widget_show_all
2017-01-20 21:37:04 +01:00
Benjamin Otte
dbeeaf7de6
cssprovider: Remove GError out argument from load functions
...
People should use the GtkCssProvider::parsing-error signal instead.
2016-10-17 16:52:05 +02:00
Benjamin Otte
4df6ddad54
API: container: Remove gtk_container_set_border_width()
2016-10-16 18:18:58 +02:00
Timm Bäder
7377b7e5c2
plugman: Stop using gtk_override_color
2016-10-16 18:17:21 +02:00
Matthias Clasen
492ea59698
examples: Strip newlines from g_warning and g_error
...
g_logv adds one for us already.
2016-02-28 12:23:12 -05:00
Matthias Clasen
4a531ec6ab
Plug another memory leak in plugman
2015-02-01 11:07:12 -05:00
Felix Riemann
f780370499
plugman: Fix leaking attribute string
...
https://bugzilla.gnome.org/show_bug.cgi?id=743770
2015-02-01 11:06:21 -05:00
Benjamin Otte
5018c7f7cb
examples: Add deprecation guards
...
Apparently it's not possible in GtkTextView to say "this style should
apply to all text, including newly inserted text. Or I'm just too stupid
to use its API.
So instead, keep using override_color().
2014-10-12 05:51:11 +02:00
Matthias Clasen
c3a9a20839
examples: Don't use gtk_application_add_accelerator
...
It has been deprecated.
2014-05-22 08:51:58 -04:00
Matthias Clasen
9ebeb4e68a
Bump GLib dependency to 2.35
...
And drop deprecated g_type_init() calls.
2012-11-04 13:01:38 -05:00
Piotr Drąg
601e10b0c1
Mark strings in embedded XML code in plugman.c as translatable
...
Just like bloadpad's. Also add plugman.c to POTFILES.skip
to *not* actually translate it.
2012-05-18 18:25:03 +02:00
Florian Müllner
bb16e54c7c
plugman: Update GtkBuilder markup
...
The markup for menus was changed in commit eed307713b
, update
the plugman example to use the new format.
2012-05-17 18:56:01 +02:00
Matthias Clasen
5f8c77f6d5
Don't leak plugin actions
...
Pointed out by Guillaume Desmottes in bug 667695.
2012-01-11 09:44:30 -05:00
Ryan Lortie
8578fefaa5
GtkApplication: add menu API
...
We add the app-menu and menubar public APIs to GtkApplication while
leaving the implementation in GApplication.
The actual implementation will be moved soon.
2011-12-19 12:51:12 -05:00
Matthias Clasen
aeb550ffd7
Plugman: Find the plugins menu in a better way
...
Now that GtkBuilder finds named submenus, there's no need for
the clumsy menumodel navigation anymore.
2011-12-19 12:51:12 -05:00
Matthias Clasen
8a21201e2c
Another plugin, for good measure
2011-12-19 12:51:11 -05:00
Matthias Clasen
c30e2b88c3
Something for the eye
2011-12-19 12:51:11 -05:00
Matthias Clasen
744f87fc12
Add an action too
2011-12-19 12:51:11 -05:00
Matthias Clasen
cc14811ec0
wip example for plugin/gmenu interaction
2011-12-19 12:51:11 -05:00