~midori/midori/trunk

« back to all changes in this revision

Viewing changes to extensions/nsplugin-manager.vala

  • Committer: Christian Dywan
  • Date: 2013-06-19 20:27:53 UTC
  • mto: This revision was merged to the branch mainline in revision 6220.
  • Revision ID: christian.dywan@canonical.com-20130619202753-mzmahpq29x0xl3om
Drop unneeded WebKit < 1.8 version guards

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
   See the file COPYING for the full license text.
10
10
*/
11
11
 
12
 
#if HAVE_WEBKIT_1_3_8
13
12
namespace NSPlugins {
14
13
    private int active_plugins = 0;
15
14
 
53
52
        }
54
53
    }
55
54
}
56
 
#endif
57
55
 
58
56
public Katze.Array? extension_init () {
59
 
#if HAVE_WEBKIT_1_3_8
60
57
    if (!Midori.WebSettings.has_plugin_support ())
61
58
        return null;
62
59
 
70
67
        extensions.add_item (new NSPlugins.Extension (plugin));
71
68
    }
72
69
    return extensions;
73
 
#else
74
 
    return null;
75
 
#endif
76
70
}
77
71