pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bijiben: Continue porting to webkitgtk 4.0



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Jun 12 02:27:45 2016 +0200
Changeset:	780d00e91ad3b1641348484c9fef4ef8177a147b

Modified Files:
	bijiben/patches/patch-src_libbiji_editor_biji-editor-selection.c
	bijiben/patches/patch-src_libbiji_editor_biji-webkit-editor.c

Log Message:
bijiben: Continue porting to webkitgtk 4.0

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=780d00e91ad3b1641348484c9fef4ef8177a147b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ...atch-src_libbiji_editor_biji-editor-selection.c |  4 +++-
 .../patch-src_libbiji_editor_biji-webkit-editor.c  | 23 ++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletion(-)

diffs:
diff --git a/bijiben/patches/patch-src_libbiji_editor_biji-editor-selection.c b/bijiben/patches/patch-src_libbiji_editor_biji-editor-selection.c
index fb31edc..d38be1c 100644
--- a/bijiben/patches/patch-src_libbiji_editor_biji-editor-selection.c
+++ b/bijiben/patches/patch-src_libbiji_editor_biji-editor-selection.c
@@ -2,7 +2,7 @@ $NetBSD$
 
 --- src/libbiji/editor/biji-editor-selection.c.orig	2014-10-18 21:26:34.000000000 +0000
 +++ src/libbiji/editor/biji-editor-selection.c
-@@ -23,8 +23,8 @@
+@@ -23,8 +23,10 @@
  #include "biji-editor-selection.h"
  #include "biji-editor-utils.h"
   
@@ -10,6 +10,8 @@ $NetBSD$
 -#include <webkit/webkitdom.h>
 +#include <webkit2/webkit2.h>
 +#include <webkitdom/webkitdom.h>
++#define WEBKIT_DOM_USE_UNSTABLE_API
++#include <webkitdom/WebKitDOMDOMSelection.h>
  
  #include <string.h>
  #include <stdlib.h>
diff --git a/bijiben/patches/patch-src_libbiji_editor_biji-webkit-editor.c b/bijiben/patches/patch-src_libbiji_editor_biji-webkit-editor.c
index 76ff9b8..780a808 100644
--- a/bijiben/patches/patch-src_libbiji_editor_biji-webkit-editor.c
+++ b/bijiben/patches/patch-src_libbiji_editor_biji-webkit-editor.c
@@ -11,3 +11,26 @@ $NetBSD$
    EEditorSelection *sel;
    GObject *spell_check;
  };
+@@ -149,19 +149,19 @@ biji_webkit_editor_apply_format (BijiWeb
+ void
+ biji_webkit_editor_cut (BijiWebkitEditor *self)
+ {
+-  webkit_web_view_cut_clipboard (WEBKIT_WEB_VIEW (self));
++  webkit_web_view_execute_editing_command (WEBKIT_WEB_VIEW (embed), WEBKIT_EDITING_COMMAND_CUT);
+ }
+ 
+ void
+ biji_webkit_editor_copy (BijiWebkitEditor *self)
+ {
+-  webkit_web_view_copy_clipboard (WEBKIT_WEB_VIEW (self));
++  webkit_web_view_execute_editing_command (WEBKIT_WEB_VIEW (embed), WEBKIT_EDITING_COMMAND_COPY);
+ }
+ 
+ void
+ biji_webkit_editor_paste (BijiWebkitEditor *self)
+ {
+-  webkit_web_view_paste_clipboard (WEBKIT_WEB_VIEW (self));
++  webkit_web_view_execute_editing_command (WEBKIT_WEB_VIEW (embed), WEBKIT_EDITING_COMMAND_PASTE);
+ }
+ 
+ static void


Home | Main Index | Thread Index | Old Index