summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/lazarus/files/lazarus-iconcrash.patch')
-rw-r--r--dev-lang/lazarus/files/lazarus-iconcrash.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/dev-lang/lazarus/files/lazarus-iconcrash.patch b/dev-lang/lazarus/files/lazarus-iconcrash.patch
deleted file mode 100644
index 4b7267edb201..000000000000
--- a/dev-lang/lazarus/files/lazarus-iconcrash.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-This patch avoids a crash on amd64. It should be removed
-once the actual bug is fixed.
-
---- lazarus/lcl/interfaces/gtk2/gtk2object.inc
-+++ lazarus/lcl/interfaces/gtk2/gtk2object.inc
-@@ -491,6 +491,7 @@
- StockName : PChar;
- IconSet : PGtkIconSet;
- Pixbuf : PGDKPixbuf;
-+ Style : TLazGtkStyle;
- begin
- Case StockID Of
- idButtonOk : StockName := GTK_STOCK_OK;
-@@ -522,9 +523,11 @@
- end;
-
- if (StockID >= idButtonBase) and (StockID <= idDialogBase) then
-- pixbuf := gtk_icon_set_render_icon(IconSet, GetStyle(lgsbutton), GTK_TEXT_DIR_NONE, GTK_STATE_NORMAL, GTK_ICON_SIZE_BUTTON, GetStyleWidget(lgsbutton), nil)
-+ Style := lgsbutton
- else
-- pixbuf := gtk_icon_set_render_icon(IconSet, GetStyle(lgswindow), GTK_TEXT_DIR_NONE, GTK_STATE_NORMAL, GTK_ICON_SIZE_DIALOG, GetStyleWidget(lgswindow), nil);
-+ Style := lgswindow;
-+
-+ pixbuf := gtk_icon_set_render_icon(IconSet, GetStyle(Style), GTK_TEXT_DIR_NONE, GTK_STATE_NORMAL, GTK_ICON_SIZE_BUTTON, GetStyleWidget(Style), nil);
-
- Pixmap := NewGDIObject(gdiBitmap);
- With Pixmap^ do begin