Commit 810aff27 authored by Mark McLoughlin's avatar Mark McLoughlin Committed by Mark McLoughlin
Browse files

kill multihead-hacks.h.

2002-09-16  Mark McLoughlin  <mark@skynet.ie>

        * Makefile.am, multihead-hacks.h: kill
        multihead-hacks.h.

        * clock.c, mailcheck.c, pager.c, tasklist.c:
        Remove HAVE_GTK_MUTLIEHAD conditionals since
        we require gtk+ 2.1.0 now.
parent f6565ba1
2002-09-16 Mark McLoughlin <mark@skynet.ie>
* Makefile.am, multihead-hacks.h: kill
multihead-hacks.h.
* clock.c, mailcheck.c, pager.c, tasklist.c:
Remove HAVE_GTK_MUTLIEHAD conditionals since
we require gtk+ 2.1.0 now.
2002-09-16 Mark McLoughlin <mark@skynet.ie>
* pager.c: (applet_realized):
......
......@@ -48,7 +48,6 @@ libgen_util_applet_2_la_SOURCES = \
popcheck.h \
remote-helper.c \
remote-helper.h \
multihead-hacks.h \
$(EGGFILES)
libgen_util_applet_2_la_LDFLAGS = -module -avoid-version
......
......@@ -27,7 +27,6 @@
#include "clock.h"
#include "multihead-hacks.h"
#include "egg-screen-help.h"
#define INTERNETSECOND (864)
......
2002-09-16 Mark McLoughlin <mark@skynet.ie>
* Makefile.am, multihead-hacks.h: kill
multihead-hacks.h.
* clock.c, mailcheck.c, pager.c, tasklist.c:
Remove HAVE_GTK_MUTLIEHAD conditionals since
we require gtk+ 2.1.0 now.
2002-09-16 Mark McLoughlin <mark@skynet.ie>
* pager.c: (applet_realized):
......
......@@ -48,7 +48,6 @@ libgen_util_applet_2_la_SOURCES = \
popcheck.h \
remote-helper.c \
remote-helper.h \
multihead-hacks.h \
$(EGGFILES)
libgen_util_applet_2_la_LDFLAGS = -module -avoid-version
......
......@@ -27,7 +27,6 @@
#include "clock.h"
#include "multihead-hacks.h"
#include "egg-screen-help.h"
#define INTERNETSECOND (864)
......
......@@ -28,7 +28,6 @@
#include "remote-helper.h"
#include "mailcheck.h"
#include "multihead-hacks.h"
#include "egg-screen-help.h"
typedef enum {
......
#ifndef __MULTIHEAD_HACKS__
#define __MULTIHEAD_HACKS__
/* Multihead support:
* Remove this when we require gtk+ with multihead.
*/
#include "config.h"
#include <gtk/gtk.h>
G_BEGIN_DECLS
#ifndef HAVE_GTK_MULTIHEAD
#define gtk_window_set_screen(a,b)
#endif /* HAVE_GTK_MULTIHEAD */
G_END_DECLS
#endif /* __MULTIHEAD_HACKS__ */
......@@ -30,7 +30,6 @@
#include "pager.h"
#include "multihead-hacks.h"
#include "egg-screen-help.h"
/* even 16 is pretty darn dubious. */
......@@ -108,7 +107,6 @@ pager_update (PagerData *pager)
static WnckScreen *
applet_get_screen (GtkWidget *applet)
{
#ifdef HAVE_GTK_MULTIHEAD
int screen_num;
if (!gtk_widget_has_screen (applet))
......@@ -117,9 +115,6 @@ applet_get_screen (GtkWidget *applet)
screen_num = gdk_screen_get_number (gtk_widget_get_screen (applet));
return wnck_screen_get (screen_num);
#else
return wnck_screen_get_default ();
#endif /* HAVE_GTK_MULTIHEAD */
}
static void
......
......@@ -28,7 +28,6 @@
#include "tasklist.h"
#include "multihead-hacks.h"
#include "egg-screen-help.h"
typedef struct {
......@@ -137,7 +136,6 @@ response_cb(GtkWidget * widget,int id, TasklistData *tasklist)
static WnckScreen *
applet_get_screen (GtkWidget *applet)
{
#ifdef HAVE_GTK_MULTIHEAD
int screen_num;
if (!gtk_widget_has_screen (applet))
......@@ -146,9 +144,6 @@ applet_get_screen (GtkWidget *applet)
screen_num = gdk_screen_get_number (gtk_widget_get_screen (applet));
return wnck_screen_get (screen_num);
#else
return wnck_screen_get_default ();
#endif /* HAVE_GTK_MULTIHEAD */
}
static void
......
2002-09-16 Mark McLoughlin <mark@skynet.ie>
* Makefile.am, multihead-hacks.h: kill
multihead-hacks.h.
* clock.c, mailcheck.c, pager.c, tasklist.c:
Remove HAVE_GTK_MUTLIEHAD conditionals since
we require gtk+ 2.1.0 now.
2002-09-16 Mark McLoughlin <mark@skynet.ie>
* pager.c: (applet_realized):
......
......@@ -48,7 +48,6 @@ libgen_util_applet_2_la_SOURCES = \
popcheck.h \
remote-helper.c \
remote-helper.h \
multihead-hacks.h \
$(EGGFILES)
libgen_util_applet_2_la_LDFLAGS = -module -avoid-version
......
......@@ -28,7 +28,6 @@
#include "remote-helper.h"
#include "mailcheck.h"
#include "multihead-hacks.h"
#include "egg-screen-help.h"
typedef enum {
......
2002-09-16 Mark McLoughlin <mark@skynet.ie>
* Makefile.am, multihead-hacks.h: kill
multihead-hacks.h.
* clock.c, mailcheck.c, pager.c, tasklist.c:
Remove HAVE_GTK_MUTLIEHAD conditionals since
we require gtk+ 2.1.0 now.
2002-09-16 Mark McLoughlin <mark@skynet.ie>
* pager.c: (applet_realized):
......
......@@ -28,7 +28,6 @@
#include "tasklist.h"
#include "multihead-hacks.h"
#include "egg-screen-help.h"
typedef struct {
......@@ -137,7 +136,6 @@ response_cb(GtkWidget * widget,int id, TasklistData *tasklist)
static WnckScreen *
applet_get_screen (GtkWidget *applet)
{
#ifdef HAVE_GTK_MULTIHEAD
int screen_num;
if (!gtk_widget_has_screen (applet))
......@@ -146,9 +144,6 @@ applet_get_screen (GtkWidget *applet)
screen_num = gdk_screen_get_number (gtk_widget_get_screen (applet));
return wnck_screen_get (screen_num);
#else
return wnck_screen_get_default ();
#endif /* HAVE_GTK_MULTIHEAD */
}
static void
......
......@@ -30,7 +30,6 @@
#include "pager.h"
#include "multihead-hacks.h"
#include "egg-screen-help.h"
/* even 16 is pretty darn dubious. */
......@@ -108,7 +107,6 @@ pager_update (PagerData *pager)
static WnckScreen *
applet_get_screen (GtkWidget *applet)
{
#ifdef HAVE_GTK_MULTIHEAD
int screen_num;
if (!gtk_widget_has_screen (applet))
......@@ -117,9 +115,6 @@ applet_get_screen (GtkWidget *applet)
screen_num = gdk_screen_get_number (gtk_widget_get_screen (applet));
return wnck_screen_get (screen_num);
#else
return wnck_screen_get_default ();
#endif /* HAVE_GTK_MULTIHEAD */
}
static void
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment