[metacity] fixedtip: remove unused function parameter
- From: Alberts MuktupÄvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] fixedtip: remove unused function parameter
- Date: Tue, 3 Jun 2014 17:22:34 +0000 (UTC)
commit f025a33abc214477a66186704f350cadfeb02d9e
Author: Alberts MuktupÄvels <alberts muktupavels gmail com>
Date: Tue Jun 3 20:16:29 2014 +0300
fixedtip: remove unused function parameter
src/ui/fixedtip.c | 2 +-
src/ui/fixedtip.h | 3 +--
src/ui/frames.c | 3 +--
3 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/ui/fixedtip.c b/src/ui/fixedtip.c
index 2e94caa..bf21515 100644
--- a/src/ui/fixedtip.c
+++ b/src/ui/fixedtip.c
@@ -66,7 +66,7 @@ draw_handler (GtkWidget *tooltips,
}
void
-meta_fixed_tip_show (Display *xdisplay, int screen_number,
+meta_fixed_tip_show (int screen_number,
int root_x, int root_y,
const char *markup_text)
{
diff --git a/src/ui/fixedtip.h b/src/ui/fixedtip.h
index 66d2683..f0c39ef 100644
--- a/src/ui/fixedtip.h
+++ b/src/ui/fixedtip.h
@@ -47,13 +47,12 @@
* displayed, but if it is the window will be reused rather than destroyed
* and recreated.
*
- * \param xdisplay An X display.
* \param screen_number The number of the screen.
* \param root_x The X coordinate where the tooltip should appear
* \param root_y The Y coordinate where the tooltip should appear
* \param markup_text Text to display in the tooltip; can contain markup
*/
-void meta_fixed_tip_show (Display *xdisplay, int screen_number,
+void meta_fixed_tip_show (int screen_number,
int root_x, int root_y,
const char *markup_text);
diff --git a/src/ui/frames.c b/src/ui/frames.c
index af0af5c..dcde14e 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -1168,8 +1168,7 @@ show_tip_now (MetaFrames *frames)
screen_number = gdk_screen_get_number (gtk_widget_get_screen (GTK_WIDGET (frames)));
- meta_fixed_tip_show (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()),
- screen_number,
+ meta_fixed_tip_show (screen_number,
rect->x + dx,
rect->y + rect->height + 2 + dy,
tiptext);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]