[metacity/cowbell] add a couple of extra params we'll be needing
- From: Thomas James Alexander Thurman <tthurman src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [metacity/cowbell] add a couple of extra params we'll be needing
- Date: Mon, 19 Oct 2009 14:50:58 +0000 (UTC)
commit 37be2fe2f1eceddfc5b817035914925fa11a6ddd
Author: Thomas Thurman <tthurman gnome org>
Date: Mon Oct 19 09:52:21 2009 -0400
add a couple of extra params we'll be needing
src/ui/theme.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/src/ui/theme.c b/src/ui/theme.c
index d0c37eb..6f2b4fd 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -572,11 +572,14 @@ meta_theme_draw_frame_with_style (MetaTheme *theme,
}
static void
-cowbell_get_edge_sizes (int *top,
+cowbell_get_edge_sizes (ccss_style_t *style,
+ gboolean ignore_padding,
+ int *top,
int *bottom,
int *left,
int *right)
{
+ /* stub */
*top = SILLY_BORDER_SIZE;
*bottom = SILLY_BORDER_SIZE;
*left = SILLY_BORDER_SIZE;
@@ -595,7 +598,8 @@ meta_theme_get_frame_borders (MetaTheme *theme,
int *right_width)
{
/* stub */
- cowbell_get_edge_sizes (top_height,
+ cowbell_get_edge_sizes (NULL, TRUE,
+ top_height,
bottom_height,
left_width,
right_width);
@@ -632,7 +636,8 @@ meta_theme_calc_geometry (MetaTheme *theme,
int i;
/* stub */
- cowbell_get_edge_sizes (&(fgeom->top_height),
+ cowbell_get_edge_sizes (NULL, TRUE,
+ &(fgeom->top_height),
&(fgeom->bottom_height),
&(fgeom->left_width),
&(fgeom->right_width));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]