[monkey-bubble: 461/753] Removed. This was a new addition, so we don't need to put it into
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 461/753] Removed. This was a new addition, so we don't need to put it into
- Date: Wed, 14 Jul 2010 22:34:24 +0000 (UTC)
commit 720971325d8e748523e9b8c9f3748740e317549c
Author: Martin Baulig <baulig suse de>
Date: Thu Jun 14 15:55:36 2001 +0000
Removed. This was a new addition, so we don't need to put it into
2001-06-14 Martin Baulig <baulig suse de>
* gnome-cursors.[ch]: Removed. This was a new addition, so we don't
need to put it into libcompat.
libgnomeui/ChangeLog | 5 +
libgnomeui/Makefile.am | 2 -
libgnomeui/gnome-about.c | 7 -
libgnomeui/gnome-cursors.c | 977 ------------------------------------------
libgnomeui/gnome-cursors.h | 89 ----
libgnomeui/gnome-dateedit.c | 8 +-
libgnomeui/gnome-href.c | 3 +-
libgnomeui/gnome-icon-item.c | 3 +-
libgnomeui/libgnomeui.h | 1 -
9 files changed, 8 insertions(+), 1087 deletions(-)
---
diff --git a/libgnomeui/ChangeLog b/libgnomeui/ChangeLog
index 357b052..07e5a25 100644
--- a/libgnomeui/ChangeLog
+++ b/libgnomeui/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-14 Martin Baulig <baulig suse de>
+
+ * gnome-cursors.[ch]: Removed. This was a new addition, so we don't
+ need to put it into libcompat.
+
2001-06-13 Martin Baulig <baulig suse de>
* gnome-window.c (gnome_window_set_icon_from_default): New function.
diff --git a/libgnomeui/Makefile.am b/libgnomeui/Makefile.am
index 3c2f270..156a9ff 100644
--- a/libgnomeui/Makefile.am
+++ b/libgnomeui/Makefile.am
@@ -73,7 +73,6 @@ libgnomeui_2_la_SOURCES = \
gnome-canvas-init.c \
gnome-client.c \
gnome-color-picker.c \
- gnome-cursors.c \
gnome-dateedit.c \
gnome-druid.c \
gnome-druid-page.c \
@@ -109,7 +108,6 @@ gnome_headers = \
gnome-canvas-init.h \
gnome-client.h \
gnome-color-picker.h \
- gnome-cursors.h \
gnome-dateedit.h \
gnome-ditem-edit.h \
gnome-druid.h \
diff --git a/libgnomeui/gnome-about.c b/libgnomeui/gnome-about.c
index b755634..f2843a3 100644
--- a/libgnomeui/gnome-about.c
+++ b/libgnomeui/gnome-about.c
@@ -41,7 +41,6 @@
#include <libgnomecanvas/gnome-canvas-pixbuf.h>
#include <libgnomecanvas/gnome-canvas-util.h>
#include <bonobo/bonobo-property-bag-client.h>
-#include "gnome-cursors.h"
#include <string.h>
#include <gtk/gtk.h>
@@ -1203,8 +1202,6 @@ gnome_about_item_cb (GnomeCanvasItem *item, GdkEvent *event,
{
gchar *url = gtk_object_get_data(GTK_OBJECT(item), "url");
- GdkCursor *cursor;
- GdkWindow *window = GTK_WIDGET(item->canvas)->window;
static GnomeCanvasItem *underline = NULL;
if (!url)
@@ -1237,9 +1234,6 @@ gnome_about_item_cb (GnomeCanvasItem *item, GdkEvent *event,
gnome_canvas_points_unref (points);
}
}
- cursor = gnome_stock_cursor_new (GNOME_STOCK_CURSOR_POINTING_HAND);
- gdk_window_set_cursor(window, cursor);
- gdk_cursor_destroy(cursor);
}
break;
case GDK_LEAVE_NOTIFY:
@@ -1248,7 +1242,6 @@ gnome_about_item_cb (GnomeCanvasItem *item, GdkEvent *event,
gtk_object_destroy (GTK_OBJECT (underline));
underline = NULL;
}
- gdk_window_set_cursor(window, NULL);
}
break;
case GDK_BUTTON_PRESS:
diff --git a/libgnomeui/gnome-dateedit.c b/libgnomeui/gnome-dateedit.c
index 9b25a15..5662be1 100644
--- a/libgnomeui/gnome-dateedit.c
+++ b/libgnomeui/gnome-dateedit.c
@@ -39,7 +39,6 @@
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
#include "gnome-dateedit.h"
-#include "gnome-cursors.h"
#include <libgnome/gnome-i18n.h>
struct _GnomeDateEditPrivate {
@@ -218,7 +217,6 @@ static void
select_clicked (GtkWidget *widget, GnomeDateEdit *gde)
{
struct tm mtm = {0};
- GdkCursor *cursor;
/* This code is pretty much just copied from gtk_date_edit_get_date */
sscanf (gtk_entry_get_text (GTK_ENTRY (gde->_priv->date_entry)), "%d/%d/%d",
@@ -245,15 +243,11 @@ select_clicked (GtkWidget *widget, GnomeDateEdit *gde)
gtk_grab_add (gde->_priv->cal_popup);
- cursor = gnome_stock_cursor_new (GNOME_STOCK_CURSOR_DEFAULT);
-
gdk_pointer_grab (gde->_priv->cal_popup->window, TRUE,
(GDK_BUTTON_PRESS_MASK
| GDK_BUTTON_RELEASE_MASK
| GDK_POINTER_MOTION_MASK),
- NULL, cursor, GDK_CURRENT_TIME);
-
- gdk_cursor_destroy (cursor);
+ NULL, NULL, GDK_CURRENT_TIME);
}
typedef struct {
diff --git a/libgnomeui/gnome-href.c b/libgnomeui/gnome-href.c
index 5c28ea4..fd7b43c 100644
--- a/libgnomeui/gnome-href.c
+++ b/libgnomeui/gnome-href.c
@@ -28,7 +28,6 @@
#include <gtk/gtk.h>
#include <libgnome/gnome-url.h>
#include "gnome-href.h"
-#include "gnome-cursors.h"
#include <libgnome/gnome-i18n.h>
@@ -450,7 +449,7 @@ gnome_href_realize(GtkWidget *widget)
GNOME_CALL_PARENT_HANDLER (GTK_WIDGET_CLASS, realize, (widget));
- cursor = gnome_stock_cursor_new(GNOME_STOCK_CURSOR_POINTING_HAND);
+ cursor = gdk_cursor_new(GDK_HAND2);
gdk_window_set_cursor(widget->window, cursor);
gdk_cursor_destroy(cursor);
}
diff --git a/libgnomeui/gnome-icon-item.c b/libgnomeui/gnome-icon-item.c
index fdadef4..1dbc5ce 100644
--- a/libgnomeui/gnome-icon-item.c
+++ b/libgnomeui/gnome-icon-item.c
@@ -39,7 +39,6 @@
#include <gtk/gtksignal.h>
#include <gtk/gtkwindow.h>
#include "gnome-icon-item.h"
-#include "gnome-cursors.h"
/* Margins used to display the information */
#define MARGIN_X 2
@@ -377,7 +376,7 @@ iti_start_selecting (Iti *iti, int idx, guint32 event_time)
gtk_editable_select_region (e, idx, idx);
gtk_editable_set_position (e, idx);
- ibeam = gnome_stock_cursor_new (GNOME_STOCK_CURSOR_XTERM);
+ ibeam = gdk_cursor_new (GDK_XTERM);
gnome_canvas_item_grab (GNOME_CANVAS_ITEM (iti),
GDK_BUTTON_RELEASE_MASK |
GDK_POINTER_MOTION_MASK,
diff --git a/libgnomeui/libgnomeui.h b/libgnomeui/libgnomeui.h
index 1f93392..9903697 100644
--- a/libgnomeui/libgnomeui.h
+++ b/libgnomeui/libgnomeui.h
@@ -40,7 +40,6 @@
#include <libgnomecanvas/gnome-canvas-util.h>
#include <libgnomecanvas/gnome-canvas-widget.h>
#include <libgnomeui/gnome-color-picker.h>
-#include <libgnomeui/gnome-cursors.h>
#include <libgnomeui/gnome-entry.h>
#include <libgnomeui/gnome-image-entry.h>
#include <libgnomeui/gnome-image-selector.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]