Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gtk
Commits
65269888
Commit
65269888
authored
Aug 04, 2002
by
Matthias Clasen
Browse files
Fix for binary compatibility across 2.x.y.
* gtk/gtkmain.c (gtk_check_version): Fix for binary compatibility across 2.x.y.
parent
73df4564
Changes
7
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
65269888
2002-08-04 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmain.c (gtk_check_version): Fix for binary compatibility
across 2.x.y.
Fri Aug 2 18:00:46 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c: Fix menus resizing dynamically while
...
...
ChangeLog.pre-2-10
View file @
65269888
2002-08-04 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmain.c (gtk_check_version): Fix for binary compatibility
across 2.x.y.
Fri Aug 2 18:00:46 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c: Fix menus resizing dynamically while
...
...
ChangeLog.pre-2-2
View file @
65269888
2002-08-04 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmain.c (gtk_check_version): Fix for binary compatibility
across 2.x.y.
Fri Aug 2 18:00:46 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c: Fix menus resizing dynamically while
...
...
ChangeLog.pre-2-4
View file @
65269888
2002-08-04 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmain.c (gtk_check_version): Fix for binary compatibility
across 2.x.y.
Fri Aug 2 18:00:46 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c: Fix menus resizing dynamically while
...
...
ChangeLog.pre-2-6
View file @
65269888
2002-08-04 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmain.c (gtk_check_version): Fix for binary compatibility
across 2.x.y.
Fri Aug 2 18:00:46 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c: Fix menus resizing dynamically while
...
...
ChangeLog.pre-2-8
View file @
65269888
2002-08-04 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmain.c (gtk_check_version): Fix for binary compatibility
across 2.x.y.
Fri Aug 2 18:00:46 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c: Fix menus resizing dynamically while
...
...
gtk/gtkmain.c
View file @
65269888
...
...
@@ -177,17 +177,16 @@ gtk_check_version (guint required_major,
guint
required_minor
,
guint
required_micro
)
{
gint
gtk_effective_micro
=
100
*
GTK_MINOR_VERSION
+
GTK_MICRO_VERSION
;
gint
required_effective_micro
=
100
*
required_minor
+
required_micro
;
if
(
required_major
>
GTK_MAJOR_VERSION
)
return
"Gtk+ version too old (major mismatch)"
;
if
(
required_major
<
GTK_MAJOR_VERSION
)
return
"Gtk+ version too new (major mismatch)"
;
if
(
required_minor
>
GTK_MINOR_VERSION
)
return
"Gtk+ version too old (minor mismatch)"
;
if
(
required_minor
<
GTK_MINOR_VERSION
)
return
"Gtk+ version too new (minor mismatch)"
;
if
(
required_micro
<
GTK_MICRO_VERSION
-
GTK_BINARY_AGE
)
if
(
required_effective_micro
<
gtk_effective_micro
-
GTK_BINARY_AGE
)
return
"Gtk+ version too new (micro mismatch)"
;
if
(
required_
micro
>
GTK_MICRO_VERSION
)
if
(
required_
effective_micro
>
gtk_effective_micro
)
return
"Gtk+ version too old (micro mismatch)"
;
return
NULL
;
}
...
...
Write
Preview
Supports
Markdown
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