Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
882942b6
Commit
882942b6
authored
12 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
* #9815: fixed preferred_size wrapper
parent
f9f82573
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gnome/src/gtk2_wrappers.c
+3
-7
3 additions, 7 deletions
gnome/src/gtk2_wrappers.c
gnome/src/gtk2_wrappers.h
+1
-1
1 addition, 1 deletion
gnome/src/gtk2_wrappers.h
with
4 additions
and
8 deletions
gnome/src/gtk2_wrappers.c
+
3
−
7
View file @
882942b6
...
...
@@ -49,12 +49,9 @@ GtkWidget* gtk_button_box_new(GtkOrientation orientation)
}
void
gtk_widget_get_preferred_size
(
GtkWidget
*
widget
,
GtkRequisition
*
min_size
,
GtkRequisition
*
max
_size
)
gtk_widget_get_preferred_size
(
GtkWidget
*
widget
,
GtkRequisition
*
min_size
UNUSED
,
GtkRequisition
*
natural
_size
)
{
if
(
max_size
)
gtk_widget_size_request
(
widget
,
max_size
);
else
if
(
min_size
)
gtk_widget_size_request
(
widget
,
min_size
);
gtk_widget_size_request
(
widget
,
natural_size
);
}
GdkPixbuf
*
...
...
@@ -74,9 +71,8 @@ gtk_scale_new_with_range(GtkOrientation orientation, gdouble min, gdouble max,
}
void
gtk_combo_box_text_append
(
GtkComboBoxText
*
combo_box
,
const
gchar
*
id
,
const
gchar
*
text
)
gtk_combo_box_text_append
(
GtkComboBoxText
*
combo_box
,
const
gchar
*
id
UNUSED
,
const
gchar
*
text
)
{
g_assert
(
!
id
);
gtk_combo_box_append_text
(
GTK_COMBO_BOX
(
combo_box
),
text
);
}
...
...
This diff is collapsed.
Click to expand it.
gnome/src/gtk2_wrappers.h
+
1
−
1
View file @
882942b6
...
...
@@ -42,7 +42,7 @@ GtkWidget*
gtk_button_box_new
(
GtkOrientation
orientation
);
void
gtk_widget_get_preferred_size
(
GtkWidget
*
widget
,
GtkRequisition
*
min_size
,
GtkRequisition
*
max
_size
);
gtk_widget_get_preferred_size
(
GtkWidget
*
widget
,
GtkRequisition
*
min_size
,
GtkRequisition
*
natural
_size
);
GdkPixbuf
*
gtk_widget_render_icon_pixbuf
(
GtkWidget
*
widget
,
const
gchar
*
stock_id
,
GtkIconSize
size
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment