Changeset 8410


Ignore:
Timestamp:
May 15, 2009, 3:15:52 PM (12 years ago)
Author:
charles
Message:

(trunk gtk) silence a couple more compiler warnings

Location:
trunk/gtk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r8389 r8410  
    109109    GSList            * dupqueue;
    110110    GtkTreeSelection  * sel;
    111     GtkWidget         * details;
     111    gpointer            details;
    112112};
    113113
     
    251251    }
    252252
    253     torrent_inspector_set_torrents( data->details, ids );
     253    torrent_inspector_set_torrents( GTK_WIDGET( data->details ), ids );
    254254
    255255    /* cleanup */
     
    13631363        if( data->details == NULL ) {
    13641364            data->details = torrent_inspector_new( GTK_WINDOW( data->wind ), data->core );
    1365             g_object_add_weak_pointer( G_OBJECT( data->details ), (gpointer*)&data->details );
     1365            g_object_add_weak_pointer( G_OBJECT( data->details ), &data->details );
    13661366        }
    13671367        refreshDetailsDialog( data );
    1368         gtk_widget_show( data->details );
     1368        gtk_widget_show( GTK_WIDGET( data->details ) );
    13691369    }
    13701370    else if( !strcmp( action_name, "update-tracker" ) )
  • trunk/gtk/tr-window.c

    r8402 r8410  
    800800    PrivateData * p;
    801801    GtkWidget   *mainmenu, *toolbar, *filter, *list, *status;
    802     GtkWidget *   vbox, *w, *self, *h, *c, *s, *hbox, *image, *menu;
     802    GtkWidget *   vbox, *w, *self, *h, *s, *hbox, *image, *menu;
    803803    GtkWindow *   win;
    804804    GSList *      l;
Note: See TracChangeset for help on using the changeset viewer.