Commit 94076bc3 authored by Erwann Chenede -'s avatar Erwann Chenede - Committed by Erwann Chenede

removed unneeded ref. #79977

2002-05-02 Erwann Chenede - <erwann.chenede@sun.com>

  * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_get_root_window):
  removed unneeded ref. #79977
  * gdk/x11/gdkscreen-x11.[hc] (gdk_screen_use_virtual_screen):
  * gdk/x11/gdkdisplay-x11.c (check_*_xinerama):
  removed gdk_screen_use_virtual_screen function and
  use_virtual_screen member variable from GdkScreenX11. #79957
parent 1c9744d5
2002-05-02 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/x11/gdkscreen-x11.c (gdk_screen_x11_get_root_window):
removed unneeded ref. #79977
* gdk/x11/gdkscreen-x11.[hc] (gdk_screen_use_virtual_screen):
* gdk/x11/gdkdisplay-x11.c (check_*_xinerama):
removed gdk_screen_use_virtual_screen function and
use_virtual_screen member variable from GdkScreenX11. #79957
2002-05-02 Matthias Clasen <maclas@gmx.de>
* gtk/gtktable.c (gtk_table_class_init):
......
2002-05-02 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/x11/gdkscreen-x11.c (gdk_screen_x11_get_root_window):
removed unneeded ref. #79977
* gdk/x11/gdkscreen-x11.[hc] (gdk_screen_use_virtual_screen):
* gdk/x11/gdkdisplay-x11.c (check_*_xinerama):
removed gdk_screen_use_virtual_screen function and
use_virtual_screen member variable from GdkScreenX11. #79957
2002-05-02 Matthias Clasen <maclas@gmx.de>
* gtk/gtktable.c (gtk_table_class_init):
......
2002-05-02 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/x11/gdkscreen-x11.c (gdk_screen_x11_get_root_window):
removed unneeded ref. #79977
* gdk/x11/gdkscreen-x11.[hc] (gdk_screen_use_virtual_screen):
* gdk/x11/gdkdisplay-x11.c (check_*_xinerama):
removed gdk_screen_use_virtual_screen function and
use_virtual_screen member variable from GdkScreenX11. #79957
2002-05-02 Matthias Clasen <maclas@gmx.de>
* gtk/gtktable.c (gtk_table_class_init):
......
2002-05-02 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/x11/gdkscreen-x11.c (gdk_screen_x11_get_root_window):
removed unneeded ref. #79977
* gdk/x11/gdkscreen-x11.[hc] (gdk_screen_use_virtual_screen):
* gdk/x11/gdkdisplay-x11.c (check_*_xinerama):
removed gdk_screen_use_virtual_screen function and
use_virtual_screen member variable from GdkScreenX11. #79957
2002-05-02 Matthias Clasen <maclas@gmx.de>
* gtk/gtktable.c (gtk_table_class_init):
......
2002-05-02 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/x11/gdkscreen-x11.c (gdk_screen_x11_get_root_window):
removed unneeded ref. #79977
* gdk/x11/gdkscreen-x11.[hc] (gdk_screen_use_virtual_screen):
* gdk/x11/gdkdisplay-x11.c (check_*_xinerama):
removed gdk_screen_use_virtual_screen function and
use_virtual_screen member variable from GdkScreenX11. #79957
2002-05-02 Matthias Clasen <maclas@gmx.de>
* gtk/gtktable.c (gtk_table_class_init):
......
2002-05-02 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/x11/gdkscreen-x11.c (gdk_screen_x11_get_root_window):
removed unneeded ref. #79977
* gdk/x11/gdkscreen-x11.[hc] (gdk_screen_use_virtual_screen):
* gdk/x11/gdkdisplay-x11.c (check_*_xinerama):
removed gdk_screen_use_virtual_screen function and
use_virtual_screen member variable from GdkScreenX11. #79957
2002-05-02 Matthias Clasen <maclas@gmx.de>
* gtk/gtktable.c (gtk_table_class_init):
......
......@@ -237,23 +237,6 @@ gdk_screen_close (GdkScreen *screen)
g_object_run_dispose (G_OBJECT (screen));
}
/**
* gdk_screen_use_virtual_screen:
* @screen : a #GdkScreen.
*
* Determines whether @screen is uses multiple monitors as
* a single virtual screen (e.g. Xinerama mode under X).
*
* Returns: %TRUE if multiple monitors are used as a single screen
***/
gboolean
gdk_screen_use_virtual_screen (GdkScreen *screen)
{
g_return_val_if_fail (GDK_IS_SCREEN (screen), FALSE);
return GDK_SCREEN_GET_CLASS (screen)->use_virtual_screen (screen);
}
/**
* gdk_screen_get_n_monitors:
* @screen : a #GdkScreen.
......
......@@ -61,7 +61,6 @@ struct _GdkScreenClass
GdkWindow * (*get_window_at_pointer) (GdkScreen *screen,
gint *win_x,
gint *win_y);
gboolean (*use_virtual_screen) (GdkScreen *screen);
gint (*get_n_monitors) (GdkScreen *screen);
void (*get_monitor_geometry) (GdkScreen *screen,
gint monitor_num,
......@@ -96,7 +95,6 @@ GList * gdk_screen_list_visuals (GdkScreen *screen);
GList * gdk_screen_get_toplevel_windows (GdkScreen *screen);
gboolean gdk_screen_use_virtual_screen (GdkScreen *screen);
gint gdk_screen_get_n_monitors (GdkScreen *screen);
void gdk_screen_get_monitor_geometry (GdkScreen *screen,
gint monitor_num,
......
......@@ -130,7 +130,6 @@ check_solaris_xinerama (GdkScreen *screen)
else
{
int i;
screen_x11->use_virtual_screen = TRUE;
screen_x11->monitors = g_new0 (GdkRectangle, screen_x11->num_monitors);
for (i = 0; i < screen_x11->num_monitors; i++)
......@@ -167,7 +166,6 @@ check_xfree_xinerama (GdkScreen *screen)
else
{
int i;
screen_x11->use_virtual_screen = TRUE;
screen_x11->monitors = g_new0 (GdkRectangle, screen_x11->num_monitors);
for (i = 0; i < screen_x11->num_monitors; i++)
......@@ -209,7 +207,6 @@ init_xinerama_support (GdkScreen * screen)
/* No Xinerama
*/
screen_x11->use_virtual_screen = FALSE;
screen_x11->num_monitors = 1;
screen_x11->monitors = g_new0 (GdkRectangle, 1);
screen_x11->monitors[0].x = 0;
......
......@@ -45,7 +45,6 @@ static GdkWindow * gdk_screen_x11_get_window_at_pointer (GdkScreen
gint *win_y);
static void gdk_screen_x11_finalize (GObject *object);
static gboolean gdk_screen_x11_use_virtual_screen (GdkScreen *screen);
static gint gdk_screen_x11_get_n_monitors (GdkScreen *screen);
static void gdk_screen_x11_get_monitor_geometry (GdkScreen *screen,
gint num_monitor,
......@@ -99,7 +98,6 @@ gdk_screen_x11_class_init (GdkScreenX11Class * klass)
screen_class->get_default_colormap = gdk_screen_x11_get_default_colormap;
screen_class->set_default_colormap = gdk_screen_x11_set_default_colormap;
screen_class->get_window_at_pointer = gdk_screen_x11_get_window_at_pointer;
screen_class->use_virtual_screen = gdk_screen_x11_use_virtual_screen;
screen_class->get_n_monitors = gdk_screen_x11_get_n_monitors;
screen_class->get_monitor_geometry = gdk_screen_x11_get_monitor_geometry;
screen_class->get_monitor_at_point = gdk_screen_x11_get_monitor_at_point;
......@@ -169,7 +167,6 @@ gdk_screen_x11_get_root_window (GdkScreen *screen)
{
GdkScreenX11 *screen_x11 = GDK_SCREEN_X11 (screen);
gdk_drawable_ref (screen_x11->root_window);
return screen_x11->root_window;
}
......@@ -244,13 +241,6 @@ gdk_screen_x11_finalize (GObject *object)
G_OBJECT_CLASS (parent_class)->finalize (object);
}
static gboolean
gdk_screen_x11_use_virtual_screen (GdkScreen *screen)
{
g_return_val_if_fail (GDK_IS_SCREEN (screen), FALSE);
return GDK_SCREEN_X11 (screen)->use_virtual_screen;
}
static gint
gdk_screen_x11_get_n_monitors (GdkScreen *screen)
{
......
......@@ -75,7 +75,6 @@ struct _GdkScreenX11
XSettingsClient *xsettings_client;
/* Xinerama */
gboolean use_virtual_screen;
gint num_monitors;
GdkRectangle *monitors;
};
......
Markdown is supported
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