Fix IScrollable and List class
This commit is contained in:
parent
6774f0b71d
commit
95f59a7b5a
5 changed files with 20 additions and 1 deletions
|
@ -33,6 +33,7 @@
|
|||
<attr path="/api/namespace/class[@cname='GIo_']/method[@name='SchedulerCancelAllJobs']" name="name">CancelAllJobs</attr>
|
||||
<attr path="/api/namespace/class[@name='Global']" name="name">GioGlobal</attr>
|
||||
<attr path="/api/namespace/class[@cname='GGlobal']/method[@name='RegistryBackendGetType']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/class[@cname='GList_']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/class[@cname='GSimple_']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/class[@cname='GSimple_']/method[@name='AsyncReportGerrorInIdle']" name="name">ReportGerrorInIdle</attr>
|
||||
<attr path="/api/namespace/class[@cname='GSimple_']/method[@name='AsyncReportTakeGerrorInIdle']" name="name">ReportTakeGerrorInIdle</attr>
|
||||
|
|
|
@ -544,6 +544,7 @@
|
|||
<attr path="/api/namespace/object[@cname='GtkScrolledWindow']/method[@name='GetPolicy']/*/*[@type='GtkPolicyType*']" name="pass_as">out</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkScrolledWindow']/method[@name='GetVscrollbar']" name="name">GetVScrollbar</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkScrolledWindow']/signal[@name='ScrollChild']/return-type" name="type">void</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkStackSidebar']/property[@name='I_(stack)']" name="hidden">1</attr>
|
||||
<add-node path="/api/namespace/object[@cname='GtkSettings']">
|
||||
<property name="AlternativeButtonOrder" cname="gtk-alternative-button-order" type="gboolean" readable="true" writeable="true" />
|
||||
<property name="AlternativeSortArrows" cname="gtk-alternative-sort-arrows" type="gboolean" readable="true" writeable="true" />
|
||||
|
|
|
@ -54,7 +54,7 @@ class DerivedScrollableWidget<T> : CustomScrollableWidget<T>
|
|||
{ }
|
||||
}
|
||||
|
||||
class CustomScrollableWidget<T> : CustomBase, IScrollableImplementor {
|
||||
class CustomScrollableWidget<T> : CustomBase, IScrollable {
|
||||
private int num_rows = 20;
|
||||
private string label;
|
||||
private Pango.Layout layout;
|
||||
|
@ -214,4 +214,9 @@ class CustomScrollableWidget<T> : CustomBase, IScrollableImplementor {
|
|||
UpdateAdjustments ();
|
||||
QueueDraw ();
|
||||
}
|
||||
|
||||
public bool GetBorder(Gtk.Border border)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,4 +26,5 @@ get-source-code:
|
|||
echo "typedef struct _GtkClipboardClass GtkClipboardClass;" >> gtk+-$(TARGET_GTK_VERSION)/gtk/gtkclipboard.h
|
||||
patch -p0 gtk+-$(TARGET_GTK_VERSION)/gtk/gtkselectionprivate.h < gtkselectionprivate-space.patch
|
||||
patch -p0 gtk+-$(TARGET_GTK_VERSION)/gtk/gtktextattributes.h < gtktextattributes-gi-scanner.patch
|
||||
patch -p0 gtk+-$(TARGET_GTK_VERSION)/gtk/gtktextview.h < gtk_text_view_public.patch
|
||||
|
||||
|
|
11
sources/gtk_text_view_public.patch
Normal file
11
sources/gtk_text_view_public.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gtk+-3.16.6.orig/gtk/gtktextview.h 2015-09-04 11:37:38.035020919 +0200
|
||||
+++ gtk+-3.16.6/gtk/gtktextview.h 2015-09-04 11:38:59.958096121 +0200
|
||||
@@ -155,8 +155,6 @@
|
||||
{
|
||||
GtkContainerClass parent_class;
|
||||
|
||||
- /*< public */
|
||||
-
|
||||
void (* populate_popup) (GtkTextView *text_view,
|
||||
GtkWidget *popup);
|
||||
void (* move_cursor) (GtkTextView *text_view,
|
Loading…
Add table
Reference in a new issue