Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yad
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
yad
Commits
e2dc4a8e
Commit
e2dc4a8e
authored
May 02, 2018
by
Victor Ananjevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build with gtk2
parent
c663ee33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
main.c
src/main.c
+4
-0
No files found.
src/main.c
View file @
e2dc4a8e
...
...
@@ -650,7 +650,11 @@ create_dialog (void)
{
gint
ww
,
wh
,
sw
,
sh
;
gtk_window_get_size
(
GTK_WINDOW
(
dlg
),
&
ww
,
&
wh
);
#if !GTK_CHECK_VERSION(3,0,0)
gdk_window_get_geometry
(
gdk_get_default_root_window
(),
NULL
,
NULL
,
&
sw
,
&
sh
,
NULL
);
#else
gdk_window_get_geometry
(
gdk_get_default_root_window
(),
NULL
,
NULL
,
&
sw
,
&
sh
);
#endif
/* place window to specified coordinates */
if
(
!
options
.
data
.
use_posx
)
gtk_window_get_position
(
GTK_WINDOW
(
dlg
),
&
options
.
data
.
posx
,
NULL
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment