Commit Graph

93 Commits

Author SHA1 Message Date
blikblum
7185755781 gtk2: replace the deprecated gtk_object_get/set_data by g_object_get/set_data. part 2
git-svn-id: trunk@37752 -
2012-06-23 18:27:49 +00:00
juha
7ad16c5660 LCL: Fix a SIGSEGV causes by Application.BringToFront. Issue #22236, patch from Anton Kavalenka
git-svn-id: trunk@37595 -
2012-06-08 20:58:59 +00:00
zeljko
1971fbf901 Gtk2: do not show taskbar entry for dragimagelist.
git-svn-id: trunk@37375 -
2012-05-21 11:32:14 +00:00
mattias
28aea814a8 gtk2 intf: less hints
git-svn-id: trunk@37344 -
2012-05-19 09:10:18 +00:00
mattias
3bcdf39bcb gtk2 intf: fixed gtk2GrabNotify, added comment
git-svn-id: trunk@37290 -
2012-05-15 11:41:09 +00:00
mattias
22e37e0981 gtk2: clean up
git-svn-id: trunk@36790 -
2012-04-15 11:20:46 +00:00
mattias
eec588e537 gtk2: removed OldCreateStatusBarPanel
git-svn-id: trunk@36789 -
2012-04-15 11:08:57 +00:00
mattias
8e2c46f2b0 gtk2: fixed Gtk2WidgetSet.ClipboardGetData mem leak on stream write error
git-svn-id: trunk@36788 -
2012-04-15 11:05:31 +00:00
mattias
2fd5ebfb38 gtk2: clean up
git-svn-id: trunk@36787 -
2012-04-15 10:59:36 +00:00
mattias
a93abd6d81 gtk2: clean up
git-svn-id: trunk@36783 -
2012-04-15 00:56:30 +00:00
juha
109adf051f LCL: add TGtk2WidgetSet.SetDesigning to prevent Abstract method call in IDE. Issue #21773
git-svn-id: trunk@36779 -
2012-04-14 20:33:16 +00:00
mattias
d82c35b476 gtk2: less hints
git-svn-id: trunk@36771 -
2012-04-14 11:27:22 +00:00
mattias
0c274a2e41 gtk2: less hints
git-svn-id: trunk@36770 -
2012-04-14 11:18:45 +00:00
zeljko
861c143774 Gtk2: revert TGtk2WidgetSet.FinishCreateHandle() since it's used by opengl implementation. issue #21569
git-svn-id: trunk@36347 -
2012-03-26 17:48:39 +00:00
zeljko
7723f075ae Gtk2: removed unused TGtk2WidgetSet.FinishCreateHandle() and some cleanups
git-svn-id: trunk@36251 -
2012-03-23 09:12:08 +00:00
zeljko
e95c6fcbb0 Gtk2: removed redundant and unused RecreateWnd() from gtk2widgetset, also removed unused GetDoubleBufferedDC()
git-svn-id: trunk@36250 -
2012-03-23 09:07:15 +00:00
zeljko
c5696c73fd Gtk2: removed unused stuff
git-svn-id: trunk@36073 -
2012-03-16 08:42:10 +00:00
zeljko
aaa6a65283 Gtk2: added missing result in gtk2trayicon, cleanup of unused variables, fixed compiler warnings
git-svn-id: trunk@35675 -
2012-03-03 16:13:08 +00:00
zeljko
2203de7ea1 Gtk2: compositeManagerRunning moved from Gtk2WSForms into Gtk2Int.
git-svn-id: trunk@35625 -
2012-02-29 19:07:33 +00:00
zeljko
a53a3ffb36 Gtk2: wake up gtk2 event loop when there's no events in lcl or gtk2 queue (needed for glib2 < 2.24).issue #20770
git-svn-id: trunk@35567 -
2012-02-23 16:09:21 +00:00
zeljko
8cb9d35d98 Gtk2: make it compileable with -dUSE_GTK_MAIN_OLD_ITERATION
git-svn-id: trunk@35565 -
2012-02-23 14:39:49 +00:00
zeljko
a4ee9b8f81 Gtk2: fixed compilation with -dVerboseRawImage
git-svn-id: trunk@35478 -
2012-02-19 12:08:06 +00:00
zeljko
542acc3023 Gtk2: cleanup
git-svn-id: trunk@35432 -
2012-02-17 17:58:35 +00:00
zeljko
33ec06316f Gtk2: removed redundant procs.
git-svn-id: trunk@35430 -
2012-02-17 17:42:39 +00:00
zeljko
045a3558a4 Gtk2: implemented SM_CYCAPTION system metrics.
git-svn-id: trunk@35300 -
2012-02-11 11:56:20 +00:00
zeljko
ed6172d26a Gtk2: fixed assertions when calling gdk_window_get_state() with invalid PGdkWindow as param
git-svn-id: trunk@35222 -
2012-02-07 12:45:26 +00:00
zeljko
5f249af015 Gtk2: fixed hang with newest glib2 >= 2.31. Patch by Ludo Brands , changed a bit by me to support old iteration implementation.Fixes issue #21129
git-svn-id: trunk@35051 -
2012-01-31 07:12:20 +00:00
zeljko
ba86e46415 Gtk2: fixed running gtk2 forms from library.
git-svn-id: trunk@34639 -
2012-01-07 17:12:12 +00:00
zeljko
5ca2d85d66 Gtk2: do not blindly unmaximize and deiconify GtkWindow. issue #10698
git-svn-id: trunk@34530 -
2012-01-01 10:47:45 +00:00
zeljko
91eda267c1 Gtk2: cleanup
git-svn-id: trunk@34519 -
2011-12-30 17:18:18 +00:00
blikblum
3bd4030d1a gtk2: remove unecessary checks
git-svn-id: trunk@34395 -
2011-12-24 20:58:37 +00:00
blikblum
750733b289 gtk2: use FreeAndNil where appropriate in Gtk2Int
git-svn-id: trunk@34393 -
2011-12-24 20:41:11 +00:00
zeljko
2ce9d7f56a Gtk2: introduced GetWindowManager functino to fix various wm's behaviour under X11.Fixes modal windows problems under kwin with gtk2lcl.issues #18323 and #18823
git-svn-id: trunk@34003 -
2011-12-06 17:11:56 +00:00
zeljko
84670e8673 Gtk2: fixed ugly memleak in gtk2 lib by leaving unreferenced mask bitmap.Issue #20417. This is merge candidate for 0.9.30.2
git-svn-id: trunk@33032 -
2011-10-22 19:49:46 +00:00
sekelsenmat
1acfc93cd4 Fixes crashes related to GetForegroundWindow by rewrapping the X11 window into a GdkWindow
git-svn-id: trunk@32725 -
2011-10-07 07:11:49 +00:00
sekelsenmat
73542b658a Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +00:00
juha
4b57ac797b IDE & LCL: Move focus to editor after hitting breakpoint. Patch from August Klein, issue #15967
git-svn-id: trunk@31087 -
2011-06-05 06:22:54 +00:00
blikblum
30af23279d gtk2: don't call FreeAllStyles in AppTerminate. It's called on Destroy
git-svn-id: trunk@30248 -
2011-04-09 14:58:51 +00:00
juha
b2fbbd9b34 LCL: Fix the rest of Assert to DebugLn conversion.
git-svn-id: trunk@29837 -
2011-03-14 11:54:38 +00:00
paul
f0bce37226 interfaces: remove AssignSelf method
git-svn-id: trunk@29827 -
2011-03-14 02:17:55 +00:00
juha
01db3bb47c LCL (mostly), Replace Assert(False... with //DebugLn(... Now Assert can be used for its original purpose again.
git-svn-id: trunk@29820 -
2011-03-13 18:21:51 +00:00
zeljko
a5cebb65d2 Gtk2: renamed Gtk1Create & Gtk1Destroy to Gtk2 counterparts.
git-svn-id: trunk@29536 -
2011-02-13 19:16:43 +00:00
paul
c2aca4cd85 lcl: replace TWidgetSet.AppHandle function with a readwrite property
git-svn-id: trunk@29278 -
2011-02-01 04:10:57 +00:00
zeljko
cdeb7f8f68 Gtk2: improved gtk2 performance in case of pointer motions by using GDK_POINTER_MOTION_HINT_MASK.Patch by Henry Vermaak. Fixes issue #14936
git-svn-id: trunk@28107 -
2010-11-06 13:10:17 +00:00
paul
d5c63f7aad gtk2: move focus-in after handler to focus-in handler. This cause interface to handle focus switches inside the focus events properly (fixes bug #17801)
git-svn-id: trunk@28104 -
2010-11-06 04:18:42 +00:00
paul
b385553fb5 qt, gtk, carbon: send LM_MOUSEENTER(LEAVE) instead of CM_MOUSEENTER(LEAVE). CM_ messages must be sent by LCL, not a widgetset
git-svn-id: trunk@27934 -
2010-10-29 04:50:26 +00:00
zeljko
65e922cbef Gtk2: gtk2lcl now uses gtk_main_context_* instead of deprecated gtk_main_*. In case someone want to use old gtk_main_* iterations there's USE_GTK_MAIN_OLD_ITERATION define.
git-svn-id: trunk@27896 -
2010-10-27 07:31:11 +00:00
zeljko
400281ddea Gtk2: fixed another misusage of IntersectRect
git-svn-id: trunk@27880 -
2010-10-26 12:00:12 +00:00
zeljko
21a209e959 Gtk2: fixed crash because of misusage/fpc bug in IntersectRect.
git-svn-id: trunk@27879 -
2010-10-26 11:53:32 +00:00
zeljko
1c4a0cc726 Gtk2: changed the way how main event loop iterates BUT ONLY VIA -dUSE_GTK_MAIN_CONTEXT_ITERATION until it's stable enough.
Now PostMessage() work correct when messages arrives from other threads. fixes #17548 and probably more issues with gtk2 threads usage.

git-svn-id: trunk@27829 -
2010-10-24 11:57:49 +00:00