diff options
| author | Karoly Lorentey | 2004-05-31 13:48:26 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-05-31 13:48:26 +0000 |
| commit | 190a56d6e02f134591a9d8861b8c4aa55bbec79b (patch) | |
| tree | d1ea16845ca26efed987116be6e6b4fc6fc60000 /src/macmenu.c | |
| parent | a596810c6c3c3c2fd450717f5083a5ff5207d243 (diff) | |
| parent | 64df673db44e48ae6e2f57849f42961a78103075 (diff) | |
| download | emacs-190a56d6e02f134591a9d8861b8c4aa55bbec79b.tar.gz emacs-190a56d6e02f134591a9d8861b8c4aa55bbec79b.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-353
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-354
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-355
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-356
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-183
Diffstat (limited to 'src/macmenu.c')
| -rw-r--r-- | src/macmenu.c | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/src/macmenu.c b/src/macmenu.c index de768d4aea5..d205ee3b877 100644 --- a/src/macmenu.c +++ b/src/macmenu.c | |||
| @@ -1784,11 +1784,7 @@ mac_menu_show (f, x, y, for_click, keymaps, title, error) | |||
| 1784 | pos.h = x; | 1784 | pos.h = x; |
| 1785 | pos.v = y; | 1785 | pos.v = y; |
| 1786 | 1786 | ||
| 1787 | #if TARGET_API_MAC_CARBON | 1787 | SetPortWindowPort (FRAME_MAC_WINDOW (f)); |
| 1788 | SetPort (GetWindowPort (FRAME_MAC_WINDOW (f))); | ||
| 1789 | #else | ||
| 1790 | SetPort (FRAME_MAC_WINDOW (f)); | ||
| 1791 | #endif | ||
| 1792 | 1788 | ||
| 1793 | LocalToGlobal (&pos); | 1789 | LocalToGlobal (&pos); |
| 1794 | 1790 | ||
| @@ -1942,11 +1938,7 @@ mac_dialog (widget_value *wv) | |||
| 1942 | 1938 | ||
| 1943 | window_ptr = GetNewCWindow (DIALOG_WINDOW_RESOURCE, NULL, (WindowPtr) -1); | 1939 | window_ptr = GetNewCWindow (DIALOG_WINDOW_RESOURCE, NULL, (WindowPtr) -1); |
| 1944 | 1940 | ||
| 1945 | #if TARGET_API_MAC_CARBON | 1941 | SetPortWindowPort (window_ptr); |
| 1946 | SetPort (GetWindowPort (window_ptr)); | ||
| 1947 | #else | ||
| 1948 | SetPort (window_ptr); | ||
| 1949 | #endif | ||
| 1950 | 1942 | ||
| 1951 | TextFont (0); | 1943 | TextFont (0); |
| 1952 | /* Left and right margins in the dialog are 13 pixels each.*/ | 1944 | /* Left and right margins in the dialog are 13 pixels each.*/ |
| @@ -1964,11 +1956,7 @@ mac_dialog (widget_value *wv) | |||
| 1964 | SizeWindow (window_ptr, dialog_width, 78, 0); | 1956 | SizeWindow (window_ptr, dialog_width, 78, 0); |
| 1965 | ShowWindow (window_ptr); | 1957 | ShowWindow (window_ptr); |
| 1966 | 1958 | ||
| 1967 | #if TARGET_API_MAC_CARBON | 1959 | SetPortWindowPort (window_ptr); |
| 1968 | SetPort (GetWindowPort (window_ptr)); | ||
| 1969 | #else | ||
| 1970 | SetPort (window_ptr); | ||
| 1971 | #endif | ||
| 1972 | 1960 | ||
| 1973 | TextFont (0); | 1961 | TextFont (0); |
| 1974 | 1962 | ||