Merge lp:~gue5t/midori/gtkdialog-deprecation into lp:midori

Proposed by gue5t gue5t
Status: Merged
Approved by: Cris Dywan
Approved revision: 6938
Merged at revision: 6943
Proposed branch: lp:~gue5t/midori/gtkdialog-deprecation
Merge into: lp:midori
Diff against target: 12 lines (+1/-1)
1 file modified
katze/katze-preferences.c (+1/-1)
To merge this branch: bzr merge lp:~gue5t/midori/gtkdialog-deprecation
Reviewer Review Type Date Requested Status
Cris Dywan Approve
Review via email: mp+256756@code.launchpad.net

Commit message

avoid deprecated GtkDialog API with GTK+2 >= 2.22

Description of the change

This avoids warnings related to the deprecated "GtkDialog:has-separator" in GTK versions where the property is deprecated, and thereby makes some tests green which were upset by the runtime warning.

To post a comment you must log in.
Revision history for this message
Cris Dywan (kalikiana) wrote :

Nice!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'katze/katze-preferences.c'
--- katze/katze-preferences.c 2014-05-20 02:15:05 +0000
+++ katze/katze-preferences.c 2015-04-19 14:48:49 +0000
@@ -67,7 +67,7 @@
67 g_object_set (preferences,67 g_object_set (preferences,
68 "icon-name", GTK_STOCK_PREFERENCES,68 "icon-name", GTK_STOCK_PREFERENCES,
69 "title", dialog_title,69 "title", dialog_title,
70#if !GTK_CHECK_VERSION (3, 0, 0)70#if !GTK_CHECK_VERSION (2, 22, 0)
71 "has-separator", FALSE,71 "has-separator", FALSE,
72#endif72#endif
73 NULL);73 NULL);

Subscribers

People subscribed via source and target branches

to all changes: