summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2007-06-18 15:24:34 +0000
committerVincent Untz <vuntz@src.gnome.org>2007-06-18 15:24:34 +0000
commit47309089edaf5f1ec519fc074f5b9dda7f5f5d0d (patch)
tree8a376ed404495141fc982851616bd743277f8122
parent6379d389458736677bcf09d8f635ae94745bd46c (diff)
downloadlibwnck-47309089edaf5f1ec519fc074f5b9dda7f5f5d0d.tar.gz
kill updated to use wnck_screen_get_number()
2007-06-18 Vincent Untz <vuntz@gnome.org> * libwnck/private.h: * libwnck/screen.c: (_wnck_screen_get_number): kill * libwnck/tasklist.c: (wnck_tasklist_realize): updated to use wnck_screen_get_number() svn path=/trunk/; revision=1322
-rw-r--r--ChangeLog7
-rw-r--r--libwnck/private.h1
-rw-r--r--libwnck/screen.c6
-rw-r--r--libwnck/tasklist.c2
4 files changed, 8 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index d2c5688..76b2796 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2007-06-18 Vincent Untz <vuntz@gnome.org>
+ * libwnck/private.h:
+ * libwnck/screen.c: (_wnck_screen_get_number): kill
+ * libwnck/tasklist.c: (wnck_tasklist_realize): updated to use
+ wnck_screen_get_number()
+
+2007-06-18 Vincent Untz <vuntz@gnome.org>
+
* doc/libwnck-sections.txt:
* doc/tmpl/tasklist.sgml:
* doc/tmpl/util.sgml:
diff --git a/libwnck/private.h b/libwnck/private.h
index 5adc4cb..26cce22 100644
--- a/libwnck/private.h
+++ b/libwnck/private.h
@@ -104,7 +104,6 @@ void _wnck_init (void);
#define WNCK_SCREEN_XSCREEN(screen) (_wnck_screen_get_xscreen (screen))
Screen *_wnck_screen_get_xscreen (WnckScreen *screen);
-int _wnck_screen_get_number (WnckScreen *screen);
GdkScreen *_wnck_screen_get_gdk_screen (WnckScreen *screen);
#ifdef HAVE_STARTUP_NOTIFICATION
diff --git a/libwnck/screen.c b/libwnck/screen.c
index f728a59..62e9d6b 100644
--- a/libwnck/screen.c
+++ b/libwnck/screen.c
@@ -2449,12 +2449,6 @@ _wnck_screen_get_xscreen (WnckScreen *screen)
return screen->priv->xscreen;
}
-int
-_wnck_screen_get_number (WnckScreen *screen)
-{
- return screen->priv->number;
-}
-
/**
* wnck_screen_get_workspace_layout:
* @screen: a #WnckScreen.
diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c
index 83b13bd..2125118 100644
--- a/libwnck/tasklist.c
+++ b/libwnck/tasklist.c
@@ -1478,7 +1478,7 @@ wnck_tasklist_realize (GtkWidget *widget)
#ifdef HAVE_STARTUP_NOTIFICATION
tasklist->priv->sn_context =
sn_monitor_context_new (_wnck_screen_get_sn_display (tasklist->priv->screen),
- _wnck_screen_get_number (tasklist->priv->screen),
+ wnck_screen_get_number (tasklist->priv->screen),
wnck_tasklist_sn_event,
tasklist,
NULL);