Mercurial > pidgin.yaz
comparison pidgin/gtkprefs.c @ 19671:0914ce0f3e0e
Don't assume that the Gstreamer stuff isn't used on win32. There really isn't anything to see here.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 06 Sep 2007 15:42:57 +0000 |
parents | ac9daf303942 |
children | 44b4e8bd759b |
comparison
equal
deleted
inserted
replaced
19670:168c5eeadfc3 | 19671:0914ce0f3e0e |
---|---|
1508 GtkWidget *vbox = data; | 1508 GtkWidget *vbox = data; |
1509 const char *method = value; | 1509 const char *method = value; |
1510 | 1510 |
1511 gtk_widget_set_sensitive(vbox, strcmp(method, "none")); | 1511 gtk_widget_set_sensitive(vbox, strcmp(method, "none")); |
1512 } | 1512 } |
1513 #endif /* !_WIN32 */ | |
1513 | 1514 |
1514 #ifdef USE_GSTREAMER | 1515 #ifdef USE_GSTREAMER |
1515 static void | 1516 static void |
1516 sound_changed3_cb(const char *name, PurplePrefType type, | 1517 sound_changed3_cb(const char *name, PurplePrefType type, |
1517 gconstpointer value, gpointer data) | 1518 gconstpointer value, gpointer data) |
1522 gtk_widget_set_sensitive(hbox, | 1523 gtk_widget_set_sensitive(hbox, |
1523 !strcmp(method, "automatic") || | 1524 !strcmp(method, "automatic") || |
1524 !strcmp(method, "esd")); | 1525 !strcmp(method, "esd")); |
1525 } | 1526 } |
1526 #endif /* USE_GSTREAMER */ | 1527 #endif /* USE_GSTREAMER */ |
1527 #endif /* !_WIN32 */ | |
1528 | 1528 |
1529 | 1529 |
1530 static void | 1530 static void |
1531 event_toggled(GtkCellRendererToggle *cell, gchar *pth, gpointer data) | 1531 event_toggled(GtkCellRendererToggle *cell, gchar *pth, gpointer data) |
1532 { | 1532 { |
1691 GtkTreePath *path; | 1691 GtkTreePath *path; |
1692 GtkWidget *hbox; | 1692 GtkWidget *hbox; |
1693 int j; | 1693 int j; |
1694 const char *file; | 1694 const char *file; |
1695 char *pref; | 1695 char *pref; |
1696 #if !defined _WIN32 || defined USE_GSTREAMER | |
1697 GtkWidget *label; | |
1698 #endif | |
1696 #ifndef _WIN32 | 1699 #ifndef _WIN32 |
1697 GtkWidget *dd; | 1700 GtkWidget *dd; |
1698 GtkWidget *label; | |
1699 GtkWidget *entry; | 1701 GtkWidget *entry; |
1700 const char *cmd; | 1702 const char *cmd; |
1701 #endif | 1703 #endif |
1702 | 1704 |
1703 ret = gtk_vbox_new(FALSE, PIDGIN_HIG_CAT_SPACE); | 1705 ret = gtk_vbox_new(FALSE, PIDGIN_HIG_CAT_SPACE); |