mousetweaks r186 - in trunk: . src
- From: gerdk svn gnome org
- To: svn-commits-list gnome org
- Subject: mousetweaks r186 - in trunk: . src
- Date: Sun, 15 Jun 2008 12:04:04 +0000 (UTC)
Author: gerdk
Date: Sun Jun 15 12:04:04 2008
New Revision: 186
URL: http://svn.gnome.org/viewvc/mousetweaks?rev=186&view=rev
Log:
2008-06-15 Gerd Kohlberger <gerdk svn gnome org>
* src/mt-main.c: Remove unnecessary casts.
Modified:
trunk/ChangeLog
trunk/src/mt-main.c
Modified: trunk/src/mt-main.c
==============================================================================
--- trunk/src/mt-main.c (original)
+++ trunk/src/mt-main.c Sun Jun 15 12:04:04 2008
@@ -238,7 +238,7 @@
static gboolean
right_click_timeout (gpointer data)
{
- MTClosure *mt = (MTClosure *) data;
+ MTClosure *mt = data;
SPI_generateMouseEvent (mt->pointer_x, mt->pointer_y, "b3c");
@@ -248,7 +248,7 @@
static void
delay_timer_finished (MtTimer *timer, gpointer data)
{
- MTClosure *mt = (MTClosure *) data;
+ MTClosure *mt = data;
mt_cursor_manager_restore_all (mt_cursor_manager_get_default ());
@@ -262,7 +262,7 @@
static void
spi_motion_event (const AccessibleEvent *event, void *data)
{
- MTClosure *mt = (MTClosure *) data;
+ MTClosure *mt = data;
if (mt->dwell_enabled) {
if (!within_tolerance (mt, event->detail1, event->detail2) &&
@@ -293,7 +293,7 @@
static void
spi_button_event (const AccessibleEvent *event, void *data)
{
- MTClosure *mt = (MTClosure *) data;
+ MTClosure *mt = data;
if (g_str_equal (event->type, "mouse:button:1p")) {
if (mt->delay_enabled) {
@@ -379,7 +379,7 @@
static void
delay_timer_tick (MtTimer *timer, gdouble time, gpointer data)
{
- MTClosure *mt = (MTClosure *) data;
+ MTClosure *mt = data;
if (mt->animate_cursor && mt->cursor != NULL)
mt_update_cursor (mt->cursor, timer, time);
@@ -388,7 +388,7 @@
static void
dwell_timer_tick (MtTimer *timer, gdouble time, gpointer data)
{
- MTClosure *mt = (MTClosure *) data;
+ MTClosure *mt = data;
if (mt->animate_cursor && mt->cursor != NULL)
mt_update_cursor (mt->cursor, timer, time);
@@ -398,7 +398,7 @@
cursor_cache_cleared (MtCursorManager *manager,
gpointer data)
{
- MTClosure *mt = (MTClosure *) data;
+ MTClosure *mt = data;
mt->cursor = mt_cursor_manager_current_cursor (manager);
}
@@ -408,7 +408,7 @@
const gchar *name,
gpointer data)
{
- MTClosure *mt = (MTClosure *) data;
+ MTClosure *mt = data;
if (!mt->dwell_gesture_started)
mt->override_cursor = !g_str_equal (name, "left_ptr");
@@ -428,7 +428,7 @@
GConfValue *value,
gpointer data)
{
- MTClosure *mt = (MTClosure *) data;
+ MTClosure *mt = data;
if (g_str_equal (key, OPT_THRESHOLD) && value->type == GCONF_VALUE_INT)
mt->threshold = gconf_value_get_int (value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]