This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gdk/quartz/gdkdisplay-quartz.c b/gdk/quartz/gdkdisplay-quartz.c | |
index 6b4afc8..161f948 100644 | |
--- a/gdk/quartz/gdkdisplay-quartz.c | |
+++ b/gdk/quartz/gdkdisplay-quartz.c | |
@@ -18,8 +18,12 @@ | |
#include "config.h" | |
+#include <mach/mach_time.h> | |
+#include <QuartzCore/QuartzCore.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | |
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | |
<node><interface name="org.freedesktop.DBus.Introspectable"><method name="Introspect"><arg name="xml" type="s" direction="out"/> | |
</method></interface><interface name="org.freedesktop.DBus.ObjectManager"><method name="GetManagedObjects"><arg name="objects" type="a{oa{sa{sv}}}" direction="out"/> | |
</method><signal name="InterfacesAdded"><arg name="object" type="o"/> | |
<arg name="interfaces" type="a{sa{sv}}"/> | |
</signal> | |
<signal name="InterfacesRemoved"><arg name="object" type="o"/> | |
<arg name="interfaces" type="as"/> | |
</signal> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g_signal_new ("done", | |
G_TYPE_FROM_CLASS (klass), | |
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, | |
G_STRUCT_OFFSET (MyFooClass, done), | |
NULL, NULL, NULL, | |
G_TYPE_NONE, | |
0); | |
binding_set = gtk_binding_set_by_class (klass); | |
gtk_binding_entry_add_signal (binding_set, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
from gi.repository import Gtk | |
from gi.repository import GtkSource | |
class CustomLineRenderer(GtkSource.GutterRendererText): | |
line_offset = 0 | |
def __init__(self, start_line, *args, **kwargs): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone git://git.gnome.org/jhbuild.git | |
cd jhbuild | |
./autogen.sh | |
make | |
make install | |
# new terminal | |
jhbuild sysdeps --install gtk+ | |
jhbuild build gtk+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<object class="EggStateMachine"> | |
<state id="default"> | |
<object id="my_revealer"> | |
<property name="reveal-child">false</property> | |
</object> | |
</state> | |
<state id="search"> | |
<object id="my_revealer"> | |
<property name="reveal-child">true</property> | |
</object> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From b9455b61e45835d67bc2fbb97667fee5ab99b318 Mon Sep 17 00:00:00 2001 | |
From: Christian Hergert <[email protected]> | |
Date: Fri, 17 Apr 2015 16:54:05 -0700 | |
Subject: [PATCH] wip access to text drawing. | |
--- | |
gtk/gtktextview.c | 33 ++++++++++++++++++++++++--------- | |
gtk/gtktextview.h | 5 +++++ | |
2 files changed, 29 insertions(+), 9 deletions(-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#0 g_logv (log_domain=0x7ffff2c5180e "Gdk", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=args@entry=0x7fffffffd248) at gmessages.c:1046 | |
#1 0x00007fffefc3ace2 in g_log (log_domain=log_domain@entry=0x7ffff2c5180e "Gdk", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x7fffefca833d "%s: assertion '%s' failed") at gmessages.c:1079 | |
#2 0x00007fffefc3ad09 in g_return_if_fail_warning (log_domain=log_domain@entry=0x7ffff2c5180e "Gdk", pretty_function=pretty_function@entry=0x7ffff2c687e0 <__FUNCTION__.59795> "gdk_window_get_origin", expression=expression@entry=0x7ffff2c52167 "GDK_IS_WINDOW (window)") | |
at gmessages.c:1088 | |
#3 0x00007ffff2c07d62 in gdk_window_get_origin (window=window@entry=0x0, x=x@entry=0x7fffffffd360, y=y@entry=0x7fffffffd364) at gdkwindow.c:6365 | |
#4 0x00007ffff2f3b191 in gtk_text_view_accessible_get_character_extents (text=<optimized out>, offset=<optimized out>, x=0x7fffffffd4a0, y=0x7fffffffd4a4, width=0x7fffffffd4a8, height=0x7fffffffd4ac, coords=ATK_XY_S |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/data/keybindings/emacs.css b/data/keybindings/emacs.css | |
index 907fe49..f114148 100644 | |
--- a/data/keybindings/emacs.css | |
+++ b/data/keybindings/emacs.css | |
@@ -58,6 +58,34 @@ | |
bind "<shift><ctrl>j" { "action" ("editor-view", "toggle-split", "") }; | |
bind "<ctrl><alt>Page_Up" { "action" ("stack", "previous-document", "") }; | |
bind "<ctrl><alt>Page_Down" { "action" ("stack", "next-document", "") }; | |
+ | |
+ bind "<alt>1" { "append-to-count" (1) "set-mode" ("emacs-with-numbers", transient) }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bind "exclam" { "push-selection" () | |
"movement" (first-char, 0, 1, 0) | |
"movement" (first-nonspace-char, 1, 1, 0) | |
"delete-selection" () | |
"auto-indent" () | |
"pop-selection" () } ; |